Skip to content
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

JavaScript heap out of memory #57

Open
richstokes opened this issue Jun 10, 2019 · 0 comments
Open

JavaScript heap out of memory #57

richstokes opened this issue Jun 10, 2019 · 0 comments

Comments

@richstokes
Copy link

richstokes commented Jun 10, 2019

Running on Ubuntu 18, 8GB memory - although physical memory doesn't seem to get maxed out at any point I am getting:

<--- Last few GCs --->

[2916:0x19ce040]    92376 ms: Mark-sweep 1324.4 (1436.1) -> 1324.3 (1404.6) MB, 21.5 / 0.0 ms  (average mu = 0.363, current mu = 0.001) last resort GC in old space requested
[2916:0x19ce040]    92402 ms: Mark-sweep 1324.3 (1404.6) -> 1324.3 (1404.6) MB, 26.3 / 0.0 ms  (average mu = 0.196, current mu = 0.001) last resort GC in old space requested


<--- JS stacktrace --->

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

    0: ExitFrame [pc: 0x39c0b3cd452b]
Security context: 0x0bf5ed3aede9 <JSObject>
    1: charCodeAt [0xbf5ed3b3b29](this=0x296a1984aee9 <Very long string[403780224]>,0)
    2: writeBlockMapping(aka writeBlockMapping) [0x365b3176eaf1] [/home/osboxes/bruteforce-helloworld/node_modules/js-yaml/lib/js-yaml/dumper.js:638] [bytecode=0xc3732cce109 offset=397](this=0x0dd8fbf825d9 <undefined>,state=0x2616779c4c19 <State map = 0x3615af1d50e1>,level...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: 0x7fbcca33b568 node::Abort() [/usr/lib/x86_64-linux-gnu/libnode.so.64]
 2: 0x7fbcca33b5b1  [/usr/lib/x86_64-linux-gnu/libnode.so.64]
 3: 0x7fbcca4fcd22 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/usr/lib/x86_64-linux-gnu/libnode.so.64]
 4: 0x7fbcca4fcf78 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/usr/lib/x86_64-linux-gnu/libnode.so.64]
 5: 0x7fbcca87e5f2  [/usr/lib/x86_64-linux-gnu/libnode.so.64]
 6: 0x7fbcca892197 v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [/usr/lib/x86_64-linux-gnu/libnode.so.64]
 7: 0x7fbcca860749 v8::internal::Factory::AllocateRawWithImmortalMap(int, v8::internal::PretenureFlag, v8::internal::Map*, v8::internal::AllocationAlignment) [/usr/lib/x86_64-linux-gnu/libnode.so.64]
 8: 0x7fbcca867b31 v8::internal::Factory::NewRawTwoByteString(int, v8::internal::PretenureFlag) [/usr/lib/x86_64-linux-gnu/libnode.so.64]
 9: 0x7fbcca992285 v8::internal::String::SlowFlatten(v8::internal::Handle<v8::internal::ConsString>, v8::internal::PretenureFlag) [/usr/lib/x86_64-linux-gnu/libnode.so.64]
10: 0x7fbccab1c472 v8::internal::Runtime_StringCharCodeAt(int, v8::internal::Object**, v8::internal::Isolate*) [/usr/lib/x86_64-linux-gnu/libnode.so.64]
11: 0x39c0b3cd452b 

After recording (Press CTRL+D, wait a few seconds, get this ^^)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant