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

Can't generate more than 2.4 million msgs #15

Open
staltz opened this issue Feb 11, 2022 · 0 comments
Open

Can't generate more than 2.4 million msgs #15

staltz opened this issue Feb 11, 2022 · 0 comments

Comments

@staltz
Copy link
Member

staltz commented Feb 11, 2022

I keep getting this crash on my computer with 16GB RAM:

Generating msg 2430856 / 3000000
<--- Last few GCs --->

[1762411:0x3693ed0]  5744971 ms: Scavenge 2005.2 (2050.4) -> 2004.3 (2050.4) MB, 10.0 / 0.0 ms  (average mu = 0.310, current mu = 0.320) allocation failure 
[1762411:0x3693ed0]  5744985 ms: Scavenge 2005.3 (2050.4) -> 2004.3 (2050.4) MB, 10.3 / 0.0 ms  (average mu = 0.310, current mu = 0.320) allocation failure 
[1762411:0x3693ed0]  5744999 ms: Scavenge 2005.3 (2050.4) -> 2004.4 (2050.4) MB, 10.7 / 0.0 ms  (average mu = 0.310, current mu = 0.320) allocation failure 


<--- JS stacktrace --->

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

    0: ExitFrame [pc: 0x1409219]
    1: StubFrame [pc: 0x138ff81]
Security context: 0x13bf9b6808d1 <JSObject>
    2: a(aka a) [0x157fd1f88a39] [/home/staltz/oss/ssb-fixtures/node_modules/.pnpm/[email protected]/node_modules/implausible/lib/implausible.umd.js:~1] [pc=0x3fb9ca1095d5](this=0x29c2f16004b1 <undefined>,0x2e916fb484d9 <String[20]: 101587391applebanana>,0x29c2f16004b1 <undefined>,0x29c2f16004b1 <undefined>)
    3: generateRandomP...

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
 1: 0xa17c40 node::Abort() [node]
 2: 0xa1804c node::OnFatalError(char const*, char const*) [node]
 3: 0xb95a7e v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [node]
 4: 0xb95df9 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [node]
 5: 0xd53075  [node]
 6: 0xd53706 v8::internal::Heap::RecomputeLimits(v8::internal::GarbageCollector) [node]
 7: 0xd5ffc5 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [node]
 8: 0xd60e75 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node]
 9: 0xd6392c v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]
10: 0xd2a34b v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationType, v8::internal::AllocationOrigin) [node]
11: 0x106c91e v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [node]
12: 0x1409219  [node]
[1]    1762411 abort      node lib/bin.js --seed applebanana --messages=3000000 --authors=50000 
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