-
-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
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
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory #202
Comments
This is pretty useless without the input string that caused it. (You might not need to share the exact data you working with. Depersonalized data that still triggers the issue - will suffice.) |
@KillyMXI The data was confidential, so I didn't share.
When I've passed 1000 times of this text like this
|
Ok. We have a known related issue - #172. I think we need a configurable behavior for what to do with unknown tags, but that will have to wait. |
[44605:0x103ef2000] 45258 ms: Mark-sweep 2049.2 (2054.1) -> 2042.0 (2046.9) MB, 5.7 / 0.0 ms (+ 3.3 ms in 1 steps since start of marking, biggest step 3.3 ms, walltime since start of marking 11 ms) (average mu = 0.386, current mu = 0.389) allocation f[44605:0x103ef2000] 45261 ms: Scavenge 2045.6 (2050.5) -> 2045.6 (2050.5) MB, 1.1 / 0.0 ms (average mu = 0.386, current mu = 0.389) allocation failure
<--- JS stacktrace --->
==== JS stack trace =========================================
Security context: 0x178b8c0c0921
0: builtin exit frame: lastIndexOf(this=0x178bb0c00411 <Very long string[1893525]>,0x178b7030db49 <String[#1]: \n>,0x178bb0c00411 <Very long string[1893525]>)
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
1: 0x100b9f982 node::Abort() (.cold.1) [/usr/local/bin/node]
2: 0x100084338 node::FatalError(char const*, char const*) [/usr/local/bin/node]
3: 0x100084460 node::OnFatalError(char const*, char const*) [/usr/local/bin/node]
4: 0x10017dfc1 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/usr/local/bin/node]
5: 0x10017df6b v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/usr/local/bin/node]
6: 0x100297f23 v8::internal::Heap::FatalProcessOutOfMemory(char const*) [/usr/local/bin/node]
7: 0x1002992a8 v8::internal::Heap::MarkCompactPrologue() [/usr/local/bin/node]
8: 0x100296e76 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [/usr/local/bin/node]
9: 0x100295955 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/usr/local/bin/node]
10: 0x10029d2f4 v8::internal::Heap::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/usr/local/bin/node]
11: 0x10029d34a v8::internal::Heap::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/usr/local/bin/node]
12: 0x10027a4f5 v8::internal::Factory::AllocateRawWithImmortalMap(int, v8::internal::AllocationType, v8::internal::Map, v8::internal::AllocationAlignment) [/usr/local/bin/node]
13: 0x10027ca47 v8::internal::Factory::NewRawTwoByteString(int, v8::internal::AllocationType) [/usr/local/bin/node]
14: 0x10043f552 v8::internal::String::SlowFlatten(v8::internal::Isolate*, v8::internal::Handlev8::internal::ConsString, v8::internal::AllocationType) [/usr/local/bin/node]
15: 0x1004438c0 v8::internal::String::LastIndexOf(v8::internal::Isolate*, v8::internal::Handlev8::internal::Object, v8::internal::Handlev8::internal::Object, v8::internal::Handlev8::internal::Object) [/usr/local/bin/node]
16: 0x100202b7f v8::internal::Builtin_Impl_StringPrototypeLastIndexOf(v8::internal::BuiltinArguments, v8::internal::Isolate*) [/usr/local/bin/node]
17: 0x10074e6d9 Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_BuiltinExit [/usr/local/bin/node]
18: 0x1006da77b Builtins_InterpreterEntryTrampoline [/usr/local/bin/node]
Abort trap: 6
The text was updated successfully, but these errors were encountered: