User's code can create several short-living external arrays that could occupy a lot of memory. Even if all references to the objects are cleared the external arrays may not be collected for a long time until the major GC. We may want to change the way GC is triggered to take into account size of external array data.
Created attachment 188030 [details] Test
On the second look it seems that the GC is triggered just at a higher threshold.