mocha-webpack icon indicating copy to clipboard operation
mocha-webpack copied to clipboard

Crash when using watch mode v.1

Open leighman opened this issue 7 years ago • 1 comments

<--- Last few GCs --->

[86779:0x104001c00]  1676975 ms: Mark-sweep 1393.2 (1525.1) -> 1393.0 (1524.1) MB, 804.3 / 0.0 ms  allocation failure GC in old space requested
[86779:0x104001c00]  1677964 ms: Mark-sweep 1393.0 (1524.1) -> 1392.8 (1475.1) MB, 987.8 / 0.0 ms  last resort 
[86779:0x104001c00]  1678831 ms: Mark-sweep 1392.8 (1475.1) -> 1392.8 (1463.6) MB, 866.5 / 0.0 ms  last resort 


<--- JS stacktrace --->

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

Security context: 0x38a5b5128799 <JSObject>
    1: DoJoin(aka DoJoin) [native array.js:~95] [pc=0x1f86e945d46f](this=0x3c04e9d02311 <undefined>,p=0x3d03ef2ffce1 <JSArray[2]>,q=2,E=0x3c04e9d023b1 <true>,A=0x3c04e9d02471 <String[0]: >,z=0x3c04e9d02421 <false>)
    2: Join(aka Join) [native array.js:~120] [pc=0x1f86e9476729](this=0x3c04e9d02311 <undefined>,p=0x3d03ef2ffce1 <JSArray[2]>,q=2,A=0x3c04e9d02471 <String[0]: >,z=0x3c04e9d02421 <fal...

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::Utils::ReportOOMFailure(char const*, bool) [/usr/local/bin/node]
 4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [/usr/local/bin/node]
 5: v8::internal::Factory::NewRawTwoByteString(int, v8::internal::PretenureFlag) [/usr/local/bin/node]
 6: v8::internal::Runtime_StringBuilderConcat(int, v8::internal::Object**, v8::internal::Isolate*) [/usr/local/bin/node]
 7: 0x1f86e8e046fd
 8: 0x1f86e945d46f
 9: 0x1f86e9476729
10: 0x1f86e9507154
11: 0x1f86e93f598d
12: 0x1f86e8ef9f5c

Often see things like this and crash when mocha-webpack --watch --interactive true is run.

Using "mocha-webpack": "^1.0.0-rc.1",

leighman avatar Sep 26 '17 10:09 leighman

Hello,

I am facing exactly the same issue, any idea why this is happening? Many thanks!

Cheers

jmariller avatar Jul 01 '19 08:07 jmariller