This repository was archived by the owner on Jan 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 127
This repository was archived by the owner on Jan 9, 2023. It is now read-only.
Out of memory #114
Copy link
Copy link
Closed
Description
Hello,
Our cache server is still running out of memory after a few hours.
Cacher server version: 6.3.0
Nodejs version: v10.15.3
Command line: nodejs --max-old-space-size=4096 /usr/lib/node_modules/unity-cache-server/main.js
Thanks for any help
Mar 7 17:18:49 unity3d-cache nodejs[17265]: <--- Last few GCs --->
Mar 7 17:18:49 unity3d-cache nodejs[17265]: [17265:0x397e270] 5318523 ms: Scavenge 4078.3 (4163.3) -> 4077.5 (4163.8) MB, 9.9 / 0.0 ms (average mu = 0.184, current mu = 0.137) allocation failure
Mar 7 17:18:49 unity3d-cache nodejs[17265]: [17265:0x397e270] 5318537 ms: Scavenge 4078.4 (4163.8) -> 4077.6 (4164.3) MB, 10.1 / 0.0 ms (average mu = 0.184, current mu = 0.137) allocation failure
Mar 7 17:18:49 unity3d-cache nodejs[17265]: [17265:0x397e270] 5318550 ms: Scavenge 4078.5 (4164.3) -> 4077.8 (4165.3) MB, 10.3 / 0.0 ms (average mu = 0.184, current mu = 0.137) allocation failure
Mar 7 17:18:49 unity3d-cache nodejs[17265]: <--- JS stacktrace --->
Mar 7 17:18:49 unity3d-cache nodejs[17265]: ==== JS stack trace =========================================
Mar 7 17:18:49 unity3d-cache nodejs[17265]: 0: ExitFrame [pc: 0x13c4ff9dbe1d]
Mar 7 17:18:49 unity3d-cache nodejs[17265]: Security context: 0x00109993c7a9 <JSObject>
Mar 7 17:18:49 unity3d-cache nodejs[17265]: 1: _handleCommand [0x493819da881] [/usr/lib/node_modules/unity-cache-server/lib/server/command_processor.js:~266] [pc=0x13c5001b369f](this=0x029fe723fdf9 <Duplex map = 0xc5c50dcae49>,data=0x05a1d5961f79 <Uint8Array map = 0xe651a1d3771>)
Mar 7 17:18:49 unity3d-cache nodejs[17265]: 2: _write [0x493819da639] [/usr/lib/node_modules/unity-cache-server/lib/server/command_processor.js:~104] [pc=0x13c...
Mar 7 17:18:49 unity3d-cache nodejs[17265]: FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
Mar 7 17:18:49 unity3d-cache nodejs[17265]: 1: 0x8dc510 node::Abort() [/usr/bin/nodejs]
Mar 7 17:18:49 unity3d-cache nodejs[17265]: 2: 0x8dc55c [/usr/bin/nodejs]
Mar 7 17:18:49 unity3d-cache nodejs[17265]: 3: 0xad9b5e v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/usr/bin/nodejs]
Mar 7 17:18:49 unity3d-cache nodejs[17265]: 4: 0xad9d94 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/usr/bin/nodejs]
Mar 7 17:18:49 unity3d-cache nodejs[17265]: 5: 0xec7bf2 [/usr/bin/nodejs]
Mar 7 17:18:49 unity3d-cache nodejs[17265]: 6: 0xec7cf8 v8::internal::Heap::CheckIneffectiveMarkCompact(unsigned long, double) [/usr/bin/nodejs]
Mar 7 17:18:49 unity3d-cache nodejs[17265]: 7: 0xed3dd2 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [/usr/bin/nodejs]
Mar 7 17:18:49 unity3d-cache nodejs[17265]: 8: 0xed4704 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/usr/bin/nodejs]
Mar 7 17:18:49 unity3d-cache nodejs[17265]: 9: 0xed7371 v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [/usr/bin/nodejs]
Mar 7 17:18:49 unity3d-cache nodejs[17265]: 10: 0xea07f4 v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationSpace) [/usr/bin/nodejs]
Mar 7 17:18:49 unity3d-cache nodejs[17265]: 11: 0x114018e v8::internal::Runtime_AllocateInNewSpace(int, v8::internal::Object**, v8::internal::Isolate*) [/usr/bin/nodejs]
Mar 7 17:18:49 unity3d-cache nodejs[17265]: 12: 0x13c4ff9dbe1d
Metadata
Metadata
Assignees
Labels
No labels