LayoutTests/js/script-tests/typedarray-zero-size.js uses ~190MB which can cause havoc on devices with small amounts of memory. This is especially true when running JSC stress tests where multiple instances of the test run concurrently. The test can be modified to still test for the original bug fixed in <http://trac.webkit.org/changeset/158583>, while using less memory.
Created attachment 234079 [details] Patch Verified that this catches the original issue by backing out the code change in <http://trac.webkit.org/changeset/158583>
Committed r170586: <http://trac.webkit.org/changeset/170586>
The first patch fixed the memory use issue on most devices. Still fails on an older iPad. Going to reduce the loop count.
Created attachment 234082 [details] Patch with loop count of 4000 With a loop count of 4000, we still catch the original issue and it works on all the smaller memory devices I tested.
Comment on attachment 234082 [details] Patch with loop count of 4000 r=me
Committed r170591: <http://trac.webkit.org/changeset/170591>