You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just want to document this because I don't see it anywhere. Probably not possible to fix because of the nature of emscripten. Here is the output of nyc but I think the issue stems from the way istanbul is doing things:
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory
<--- Last few GCs --->
16041 ms: Mark-sweep 1390.4 (1457.1) -> 1397.3 (1457.1) MB, 1006.1 / 0 ms [allocation failure] [GC in old space requested].
17008 ms: Mark-sweep 1397.3 (1457.1) -> 1397.3 (1457.1) MB, 966.7 / 0 ms [allocation failure] [GC in old space requested].
17972 ms: Mark-sweep 1397.3 (1457.1) -> 1388.7 (1457.1) MB, 964.9 / 0 ms [last resort gc].
19013 ms: Mark-sweep 1388.7 (1457.1) -> 1390.3 (1457.1) MB, 1040.3 / 0 ms [last resort gc].
<--- JS stacktrace --->
==== JS stack trace =========================================
Security context: 0x63a4ff36ae1 <JS Object>
2: apply [/Users/matthew/Projects/retrojs/node_modules/nyc/node_modules/istanbul/lib/instrumenter.js:~284] [pc=0x3e4644f34eb2] (this=0xbb43be089c1 <a Walker with map 0x1724a4618841>,node=0x3eca5fc7c6e1 <a Node with map 0x1724a4619b29>,walkFn=0xbb43becb0c9 <JS Function Instrumenter.coverStatement (SharedFunctionInfo 0xf2f4d0848d1)>,pathElement=0x63a4ff04131 <undefined>)
3: arguments adapt...
The text was updated successfully, but these errors were encountered:
How big is this file? Given there are no streaming APIs for JS parse and code gen, istanbul has to rely on loading the whole file in memory and performing all the operations there.
The emscripten output file is like 2.7M. Is that going to be too big for code coverage? I'll try using max-old-space-size flag to see if anything more comes up.
I just want to document this because I don't see it anywhere. Probably not possible to fix because of the nature of emscripten. Here is the output of nyc but I think the issue stems from the way istanbul is doing things:
The text was updated successfully, but these errors were encountered: