We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<--- Last few GCs ---> [1369:0x103003800] 58549 ms: Mark-sweep 2041.9 (2052.0) -> 2042.0 (2053.0) MB, 1572.0 / 0.0 ms (average mu = 0.123, current mu = 0.001) allocation failure scavenge might not succeed [1369:0x103003800] 61594 ms: Mark-sweep 2042.9 (2053.0) -> 2042.9 (2053.8) MB, 3044.3 / 0.0 ms (average mu = 0.049, current mu = 0.000) allocation failure scavenge might not succeed <--- JS stacktrace ---> ==== JS stack trace ========================================= 0: ExitFrame [pc: 0x10092fbd9] 1: StubFrame [pc: 0x1008b1701] Security context: 0x07f5cbb808a1 <JSObject> 2: /* anonymous */ [0x7f5264d0749] [/Users/huocp/github/gist-code/client-worker/node_modules/.pnpm/registry.npmjs.org/modify-code/1.1.0/node_modules/modify-code/index.js:~162] [pc=0x6806e0116da](this=0x07f5516c4e11 <JSGlobal Object>,0x07f5f83babb9 <Object map = 0x7f52e55d7b1>) 3: arguments adaptor frame: 3->1 4: ma... FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory Writing Node.js report to file: report.20200119.134117.1369.0.001.json Node.js report completed 1: 0x10007e743 node::Abort() [/Users/huocp/.nodenv/versions/12.13.0/bin/node] 2: 0x10007e8c7 node::OnFatalError(char const*, char const*) [/Users/huocp/.nodenv/versions/12.13.0/bin/node] 3: 0x100176267 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/Users/huocp/.nodenv/versions/12.13.0/bin/node] 4: 0x100176203 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/Users/huocp/.nodenv/versions/12.13.0/bin/node] 5: 0x1002fa2b5 v8::internal::Heap::FatalProcessOutOfMemory(char const*) [/Users/huocp/.nodenv/versions/12.13.0/bin/node] 6: 0x1002fb984 v8::internal::Heap::RecomputeLimits(v8::internal::GarbageCollector) [/Users/huocp/.nodenv/versions/12.13.0/bin/node] 7: 0x1002f8857 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [/Users/huocp/.nodenv/versions/12.13.0/bin/node] 8: 0x1002f683d v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/Users/huocp/.nodenv/versions/12.13.0/bin/node] 9: 0x100301f54 v8::internal::Heap::AllocateRawWithLightRetry(int, v8::internal::AllocationType, v8::internal::AllocationAlignment) [/Users/huocp/.nodenv/versions/12.13.0/bin/node] 10: 0x100301fcf v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationType, v8::internal::AllocationAlignment) [/Users/huocp/.nodenv/versions/12.13.0/bin/node] 11: 0x1002cebc7 v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationType) [/Users/huocp/.nodenv/versions/12.13.0/bin/node] 12: 0x1005f7725 v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [/Users/huocp/.nodenv/versions/12.13.0/bin/node] 13: 0x10092fbd9 Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_NoBuiltinExit [/Users/huocp/.nodenv/versions/12.13.0/bin/node] /Users/huocp/github/gist-code/client-worker/node_modules/.bin/gulp: line 14: 1369 Abort trap: 6 NODE_PATH="/Users/huocp/github/gist-code/client-worker/node_modules/.pnpm/registry.npmjs.org/gulp/4.0.2/node_modules/gulp/bin/gulp.js/node_modules:/Users/huocp/github/gist-code/client-worker/node_modules/.pnpm/registry.npmjs.org/gulp/4.0.2/node_modules/gulp/bin/node_modules:/Users/huocp/github/gist-code/client-worker/node_modules/.pnpm/registry.npmjs.org/gulp/4.0.2/node_modules/gulp/node_modules:/Users/huocp/github/gist-code/client-worker/node_modules/.pnpm/registry.npmjs.org/gulp/4.0.2/node_modules:/Users/huocp/github/gist-code/client-worker/node_modules/.pnpm/registry.npmjs.org/gulp/node_modules:/Users/huocp/github/gist-code/client-worker/node_modules/.pnpm/registry.npmjs.org/node_modules:/Users/huocp/github/gist-code/client-worker/node_modules/.pnpm/node_modules:/Users/huocp/github/gist-code/client-worker/node_modules:/Users/huocp/github/gist-code/node_modules:/Users/huocp/github/node_modules:/Users/huocp/node_modules:/Users/node_modules:/node_modules:/Users/huocp/github/gist-code/client-worker/node_modules/gulp/bin/gulp.js/node_modules:/Users/huocp/github/gist-code/client-worker/node_modules/gulp/bin/node_modules:/Users/huocp/github/gist-code/client-worker/node_modules/gulp/node_modules" node "$basedir/../gulp/bin/gulp.js" "$@"
The text was updated successfully, but these errors were encountered:
Might be related to mozilla/source-map#342 due to
https://github.com/dumberjs/modify-code/blob/fbaee6f6d5671816ac28b42397d7082bc537643f/index.js#L162-L164
Sorry, something went wrong.
nodejs/node#7937 (comment)
This issue can be bypassed with NODE_OPTIONS=--max_old_space_size=4096 to change the default heap size from 1.4G (for 64bits system) to 4G.
NODE_OPTIONS=--max_old_space_size=4096
The max_old_space_size only works when there is enough physical memory.
No branches or pull requests
The text was updated successfully, but these errors were encountered: