JSContext crash with low memory