DEgITx / rats-search

BitTorrent P2P multi-platform search engine for Desktop and Web servers with integrated torrent client.
MIT License
1.62k stars 176 forks source link

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory #95

Open Chewie9999 opened 5 years ago

Chewie9999 commented 5 years ago

This may just be a general out of memory error, and/or related to #92. RATS had been running for about a day, and then quit with the following errors:

<--- Last few GCs --->

[61264:0x55b9917fb000] 45418786 ms: Mark-sweep 1372.8 (1425.6) -> 1372.4 (1425.1) MB, 1089.4 / 2.6 ms  (average mu = 0.185, current mu = 0.075) allocation failure scavenge might not succeed
[61264:0x55b9917fb000] 45420076 ms: Mark-sweep 1373.1 (1425.1) -> 1372.7 (1425.1) MB, 1274.9 / 3.2 ms  (average mu = 0.097, current mu = 0.011) allocation failure scavenge might not succeed

<--- JS stacktrace --->

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

    0: ExitFrame [pc: 0x29b984a5be1d]
    1: StubFrame [pc: 0x29b984a5d1df]
    2: StubFrame [pc: 0x29b985065e55]
Security context: 0x18204889e6e9 <JSObject>
    3: getName [0x27b73f4757f1] [https.js:199] [bytecode=0x308c3156f5f1 offset=330](this=0x305feceed941 <Agent map = 0x34f68c8f9aa1>,options=0x127ee0ed4d51 <Object map = 0xa6a1d5f951>)
    4: createSocket [0x27b73f44e389] [_http_agent.js:~196] [pc=0x29b986a616a6](this=0x305feceed941 ...

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
 1: 0x55b9901ae4e0 node::Abort() [node10]
 2: 0x55b9901ae52e  [node10]
 3: 0x55b9903b2bf2 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [node10]
 4: 0x55b9903b2e89 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [node10]
 5: 0x55b9907c0682  [node10]
 6: 0x55b9907cefaa v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [node10]
 7: 0x55b9907cfbfd v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node10]
 8: 0x55b9907d2355 v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [node10]
 9: 0x55b9907966d6 v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationSpace) [node10]
10: 0x55b990a5ae97 v8::internal::Runtime_AllocateInNewSpace(int, v8::internal::Object**, v8::internal::Isolate*) [node10]
11: 0x29b984a5be1d