Skip to content

Out of memory Large Library #73

@segator

Description

@segator

Out of memory on a 32GB system (30 GB not used)

plex-sync serverA/2,r serverB/2,rw
Large Library(80K episodes on 2 servers)
<--- Last few GCs --->

[4332:0x55a7b4ce31d0] 638448 ms: Mark-sweep 1655.4 (1720.0) -> 1655.4 (1688.5) MB, 2072.7 / 0.0 ms last resort GC in old space requested
[4332:0x55a7b4ce31d0] 640695 ms: Mark-sweep 1655.4 (1688.5) -> 1655.4 (1688.5) MB, 2246.6 / 0.0 ms last resort GC in old space requested

<--- JS stacktrace --->

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

Security context: 0x72c21a18fe1
1: /* anonymous /(aka / anonymous /) [/usr/local/lib/node_modules/plex-sync/lib/plex.js:~124] [pc=0x200bebd43a3e](this=0x72c21a02241 ,video=0x64a08ede011 )
2: arguments adaptor frame: 3->1
3: forEach(this=0x234fd89ec6f9 <JSArray[32]>)
4: / anonymous /(aka / anonymous */) [/usr/local/lib/node_modules/plex-sync/lib/plex.js:124] [bytecode=...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
1: node::Abort() [node]
2: 0x55a7b3305011 [node]
3: v8::Utils::ReportOOMFailure(char const*, bool) [node]
4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [node]
5: v8::internal::Factory::NewUninitializedFixedArray(int) [node]
6: 0x55a7b2ef1add [node]
7: v8::internal::Runtime_GrowArrayElements(int, v8::internal::Object**, v8::internal::Isolate*) [node]
8: 0x200beba840bd

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions