Page MenuHomePhabricator
Paste P15099

"FATAL ERROR: Ineffective mark-compacts near heap limit" when running "npm t" in core
ActivePublic

Authored by jaredblumer on Apr 1 2021, 2:47 AM.
jdot@jdot:~/Desktop/mediawiki$ npm t
> @ test /home/jdot/Desktop/mediawiki
> grunt lint && npm run doc
Running "eslint:all" (eslint) task
<--- Last few GCs --->
[13822:0x3a6e870] 131406 ms: Mark-sweep 1262.5 (1453.1) -> 1262.8 (1454.6) MB, 1176.9 / 0.0 ms (average mu = 0.084, current mu = 0.024) allocation failure scavenge might not succeed
[13822:0x3a6e870] 132654 ms: Mark-sweep 1266.7 (1454.6) -> 1266.8 (1455.1) MB, 1237.3 / 0.0 ms (average mu = 0.046, current mu = 0.008) allocation failure scavenge might not succeed
<--- JS stacktrace --->
==== JS stack trace =========================================
0: ExitFrame [pc: 0x1908d5b5bf1d]
Security context: 0x1ad0a419e6c1 <JSObject>
1: fixLocation [0x16e8e76d9dc9] [/home/jdot/Desktop/mediawiki/node_modules/eslint-plugin-json-es/lib/parseJson.js:~87] [pc=0x1908d626ba5e](this=0x06912598d461 <JSGlobal Object>,node=0x34a72be35c51 <Token map = 0x29307fe080e1>)
2: arguments adaptor frame: 3->1
3: forEach [0x1ad0a4186dc9](this=0x25575cc02201 <JSArray[811679]>,0x16e8e76d9dc9 <JSFunc...
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
1: 0x91a240 node::Abort() [grunt]
2: 0x91a28c [grunt]
3: 0xb2708e v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [grunt]
4: 0xb272d3 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [grunt]
5: 0xf377a2 [grunt]
6: 0xf378a8 v8::internal::Heap::CheckIneffectiveMarkCompact(unsigned long, double) [grunt]
7: 0xf43c82 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [grunt]
8: 0xf444f2 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [grunt]
9: 0xf4741c v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [grunt]
10: 0xf124e4 v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationSpace) [grunt]
11: 0x11bda3e v8::internal::Runtime_AllocateInNewSpace(int, v8::internal::Object**, v8::internal::Isolate*) [grunt]
12: 0x1908d5b5bf1d
Aborted (core dumped)
npm ERR! Test failed. See above for more details.