Meteor hard fail error interpretation

I was updating my css when my app crashed. It was working pretty fine before that.
After restarting the app, it would crash again after a few momebts. I rebooted the server and it kept crashing after a few moments.
Finally i restarted again removing a small change in my css and it seemed to stabilize again. But that may probably be unrelated.
I don’t have any clue about why this happened. Here is the log, i wish i could prevent it in the future.
Thanks for your help

Mar 18 00:59:12 localhost meteorassayag-org[1244]: W20220318-00:59:12.827(0)? (STDERR)
Mar 18 00:59:12 localhost meteorassayag-org[1244]: W20220318-00:59:12.827(0)? (STDERR) <--- Last few GCs --->
Mar 18 00:59:12 localhost meteorassayag-org[1244]: W20220318-00:59:12.828(0)? (STDERR)
Mar 18 00:59:12 localhost meteorassayag-org[1244]: W20220318-00:59:12.828(0)? (STDERR) [1552:0x4ca2840]    51156 ms: Mark-sweep (reduce) 1914.0 (1921.2) -> 1913.4 (1921.7) MB, 2010.3 / 0.0 ms  (+ 0.0 ms in 8 steps since start of marking, biggest step 0.0 ms, walltime since start of marking 2020 ms) (average mu = 0.101, current mu = 0.007) a[1552:0x4ca2840]    54336 ms: Mark-sweep (reduce) 1914.5 (1918.7) -> 1914.2 (1920.4) MB, 2732.7 / 0.0 ms  (+ 107.0 ms in 16 steps since start of marking, biggest step 19.0 ms, walltime since start of marking 3180 ms) (average mu = 0.105, current mu = 0.10
Mar 18 00:59:12 localhost meteorassayag-org[1244]: W20220318-00:59:12.828(0)? (STDERR)
Mar 18 00:59:12 localhost meteorassayag-org[1244]: W20220318-00:59:12.828(0)? (STDERR) <--- JS stacktrace --->
Mar 18 00:59:12 localhost meteorassayag-org[1244]: W20220318-00:59:12.828(0)? (STDERR)
Mar 18 00:59:12 localhost meteorassayag-org[1244]: W20220318-00:59:12.828(0)? (STDERR) FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
Mar 18 00:59:12 localhost meteorassayag-org[1244]: W20220318-00:59:12.833(0)? (STDERR)  1: 0xa38a30 node::Abort() [/home/ubuntu/.meteor/packages/meteor-tool/.2.6.1.1o2mwa3.pfvy++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node]
Mar 18 00:59:12 localhost meteorassayag-org[1244]: W20220318-00:59:12.833(0)? (STDERR)  2: 0x96e0af node::FatalError(char const*, char const*) [/home/ubuntu/.meteor/packages/meteor-tool/.2.6.1.1o2mwa3.pfvy++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node]
Mar 18 00:59:12 localhost meteorassayag-org[1244]: W20220318-00:59:12.834(0)? (STDERR)  3: 0xbb7ebe v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/home/ubuntu/.meteor/packages/meteor-tool/.2.6.1.1o2mwa3.pfvy++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node]
Mar 18 00:59:12 localhost meteorassayag-org[1244]: W20220318-00:59:12.835(0)? (STDERR)  4: 0xbb8237 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/home/ubuntu/.meteor/packages/meteor-tool/.2.6.1.1o2mwa3.pfvy++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node]
Mar 18 00:59:12 localhost meteorassayag-org[1244]: W20220318-00:59:12.836(0)? (STDERR)  5: 0xd74445  [/home/ubuntu/.meteor/packages/meteor-tool/.2.6.1.1o2mwa3.pfvy++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node]
Mar 18 00:59:12 localhost meteorassayag-org[1244]: W20220318-00:59:12.837(0)? (STDERR)  6: 0xd74fcf  [/home/ubuntu/.meteor/packages/meteor-tool/.2.6.1.1o2mwa3.pfvy++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node]
Mar 18 00:59:12 localhost meteorassayag-org[1244]: W20220318-00:59:12.838(0)? (STDERR)  7: 0xd82e0b v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/home/ubuntu/.meteor/packages/meteor-tool/.2.6.1.1o2mwa3.pfvy++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node]
Mar 18 00:59:12 localhost meteorassayag-org[1244]: W20220318-00:59:12.839(0)? (STDERR)  8: 0xd869cc v8::internal::Heap::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/home/ubuntu/.meteor/packages/meteor-tool/.2.6.1.1o2mwa3.pfvy++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node]
Mar 18 00:59:12 localhost meteorassayag-org[1244]: W20220318-00:59:12.839(0)? (STDERR)  9: 0xd550ab v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationType, v8::internal::AllocationOrigin) [/home/ubuntu/.meteor/packages/meteor-tool/.2.6.1.1o2mwa3.pfvy++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node]
Mar 18 00:59:12 localhost meteorassayag-org[1244]: W20220318-00:59:12.840(0)? (STDERR) 10: 0x109d68f v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [/home/ubuntu/.meteor/packages/meteor-tool/.2.6.1.1o2mwa3.pfvy++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node]
Mar 18 00:59:12 localhost meteorassayag-org[1244]: W20220318-00:59:12.841(0)? (STDERR) 11: 0x14467f9  [/home/ubuntu/.meteor/packages/meteor-tool/.2.6.1.1o2mwa3.pfvy++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node]
Mar 18 00:59:13 localhost meteorassayag-org[1244]: => Exited from signal: SIGABRT
Mar 18 00:59:13 localhost meteorassayag-org[1244]: => Your application is crashing. Waiting for file change.

Hi, what front-end framework are you using? Svelte, React, Vue, Blaze?

Not sure if the CSS thing you mentioned is related, but I use Svelte and I run into a crash situation when I save while I go while working on CSS or if my syntax is incorrect. Svelte compiles when I save and can “crash” the app if I’ve made a mistake. This is normal. It let’s me know that I’ve indeed made a mistake. What was the “offending” CSS that you removed? Were there any syntax errors?

The errors that show are different for sure, but not sure if these CSS issues could trigger the errors that you received when the JavaScript heap is out of memory like @truedon mentioned below.

Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
Mar 18 00:59:12 localhost meteorassayag-org[1244]: W20220318-00:59:12.833(0)? (STDERR) 1: 0xa38a30 node::Abort() [/home/ubuntu/.meteor/packages/meteor-tool/.2.6.1.1o2mwa3.pfvy++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node]

Your ubuntu box ran out of memory. If it’s a VM - add more. Or just close some stuff down if possible.

2 Likes