You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
8388607
<--- Last few GCs --->
[18029:0x561164d645d0] 95419 ms: Mark-sweep 1637.6 (1955.0) -> 1637.6 (1955.5) MB, 3425.7 / 0.0 ms allocation failure GC in old space requested
[18029:0x561164d645d0] 98896 ms: Mark-sweep 1637.6 (1955.5) -> 1637.5 (1915.0) MB, 3477.3 / 0.0 ms last resort
[18029:0x561164d645d0] 102424 ms: Mark-sweep 1637.5 (1915.0) -> 1637.5 (1905.5) MB, 3528.0 / 0.0 ms last resort
<--- JS stacktrace --->
==== JS stack trace =========================================
Security context: 0x10da9441bbd9 <JS Object>
1: set [native collection.js:1] [pc=0x264266b38303](this=0x1ef5db712571 <a Map with map 0x19b2d8a94319>,p=8388608,x=8388608)
2: main [/home/khomyakov42/Projects/one-world/exp.js:~4] [pc=0x264266b3c83f](this=0x2dd5bc90a1e1 <JS Global Object>)
3: /* anonymous */ [/home/khomyakov42/Projects/one-world/exp.js:28] [pc=0x264266b6a505](this=0x16895ed48929 <an Object with map 0x19b2d8a84931>...
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
1: node::Abort() [/usr/bin/node]
2: 0x5611623ac6ae [/usr/bin/node]
3: v8::Utils::ReportOOMFailure(char const*, bool) [/usr/bin/node]
4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [/usr/bin/node]
5: v8::internal::Factory::NewFixedArray(int, v8::internal::PretenureFlag) [/usr/bin/node]
6: v8::internal::OrderedHashTable<v8::internal::OrderedHashMap, v8::internal::JSMapIterator, 2>::Allocate(v8::internal::Isolate*, int, v8::internal::PretenureFlag) [/usr/bin/node]
7: v8::internal::OrderedHashTable<v8::internal::OrderedHashMap, v8::internal::JSMapIterator, 2>::Rehash(v8::internal::Handle<v8::internal::OrderedHashMap>, int) [/usr/bin/node]
8: v8::internal::OrderedHashTable<v8::internal::OrderedHashMap, v8::internal::JSMapIterator, 2>::EnsureGrowable(v8::internal::Handle<v8::internal::OrderedHashMap>) [/usr/bin/node]
9: v8::internal::Runtime_MapGrow(int, v8::internal::Object**, v8::internal::Isolate*) [/usr/bin/node]
10: 0x264266a040bd
Process finished with exit code 134 (interrupted by signal 6: SIGABRT)
The text was updated successfully, but these errors were encountered:
khomyakov42
changed the title
increase max old space size more 4GB
increase max old space size not working
Aug 2, 2017
mscdex
added
memory
Issues and PRs related to the memory management or memory footprint.
v8 engine
Issues and PRs related to the V8 dependency.
labels
Aug 2, 2017
All three runs fail with an error, don't they? Is the bug report here that the second one fails with "invalid table size" instead of "out of memory"? That's because collections have a maximum size (512 MB on 32 bits architectures, 1 GB on 64 bits, IIRC.)
I run this code:
Result:
I used the flag to increase the maximum memory
--max-old-space-size=2000
but it had no effectBut if add console.log to body:
then flag --max-old-space-size working:
The text was updated successfully, but these errors were encountered: