glimmerjs / glimmer-application-pipeline

Tooling for developing Glimmer standalone apps with ember-cli
MIT License
21 stars 32 forks source link

Memory issue crashes server #6

Open asakusuma opened 7 years ago

asakusuma commented 7 years ago

This has happened twice on an ember serve instance that has been running for about ~10min with a few updates since launch.

<--- Last few GCs --->

  496077 ms: Mark-sweep 1298.0 (1419.4) -> 1298.0 (1435.4) MB, 1031.0 / 0.0 ms [allocation failure] [GC in old space requested].
  497079 ms: Mark-sweep 1298.0 (1435.4) -> 1298.0 (1435.4) MB, 1001.8 / 0.0 ms [allocation failure] [GC in old space requested].
  498081 ms: Mark-sweep 1298.0 (1435.4) -> 1302.4 (1419.4) MB, 1001.6 / 0.0 ms [last resort gc].
  499081 ms: Mark-sweep 1302.4 (1419.4) -> 1306.9 (1419.4) MB, 999.8 / 0.0 ms [last resort gc].

<--- JS stacktrace --->

==== JS stack trace =========================================

Security context: 0x2d87204cfb51 <JS Object>
    1: decode(aka decode) [/Users/akusuma/workspace/opensource/glimmerjs/glimmer-application-pipeline/node_modules/broccoli-rollup/node_modules/rollup/dist/rollup.js:~279] [pc=0x204abd6d1d6f] (this=0x2d8720404381 <undefined>,mappings=0x2a105de04201 <Very long string[626611]>)
    2: render [/Users/akusuma/workspace/opensource/glimmerjs/glimmer-application-pipeline/node_modules/broccoli-rollup/n...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: node::Abort() [/usr/local/bin/node]
 2: node::FatalException(v8::Isolate*, v8::Local<v8::Value>, v8::Local<v8::Message>) [/usr/local/bin/node]
 3: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [/usr/local/bin/node]
 4: v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationSpace) [/usr/local/bin/node]
 5: v8::internal::Runtime_AllocateInTargetSpace(int, v8::internal::Object**, v8::internal::Isolate*) [/usr/local/bin/node]
 6: 0x204ab79079a7
 7: 0x204abd6d1d6f
Abort trap: 6
Vazgen7788 commented 4 years ago

Any news ? )