JavaScript heap out of memory
Opened this issue · 0 comments
$ plex-sync TOKEN@192.168.0.2/1,r https://TOKEN@xyz.plex.direct:32400/1,rw
Reading data from 192.168.0.2:32400,xyz.plex.direct:32400...
Progress: | Elapsed: 0.0s | 100%
<--- Last few GCs --->
[3233:0x2798a70] 175862 ms: Mark-sweep 1412.4 (1464.5) -> 1412.0 (1448.5) MB, 4058.5 / 0.0 ms (+ 0.0 ms in 0 steps since start of marking, biggest step 0.0 ms, walltime since start of marking 4059 ms) last resort
[3233:0x2798a70] 179907 ms: Mark-sweep 1412.0 (1448.5) -> 1411.7 (1448.5) MB, 4044.6 / 0.0 ms last resort
<--- JS stacktrace --->
==== JS stack trace =========================================
Security context: 0x2314ed5a9891
1: new constructor(aka Parser) [/usr/local/lib/node_modules/plex-sync/node_modules/xml2js/lib/xml2js.js:240] [pc=0xbadfc8869ac](this=0x27a4a46bd6b1 <a Parser with map 0x1f9a11240b01>,opts=0x7b9c3b87021 <an Object with map 0x1f9a112031d1>)
3: /* anonymous /(aka / anonymous */) [/usr/local/lib/node_modules/plex-sync/node_modules/xml2js/lib/xml2js.js:539] [pc=0xbadfc886310](this=0x41a33d...
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
1: node::Abort() [node]
2: 0x13d443c [node]
3: v8::Utils::ReportOOMFailure(char const*, bool) [node]
4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [node]
5: v8::internal::Factory::NewStruct(v8::internal::InstanceType) [node]
6: v8::internal::Factory::NewTuple3(v8::internal::Handlev8::internal::Object, v8::internal::Handlev8::internal::Object, v8::internal::Handlev8::internal::Object) [node]
7: v8::internal::StoreIC::StoreTransition(v8::internal::Handlev8::internal::Map, v8::internal::Handlev8::internal::JSObject, v8::internal::Handlev8::internal::Map, v8::internal::Handlev8::internal::Name) [node]
8: v8::internal::StoreIC::GetMapIndependentHandler(v8::internal::LookupIterator*) [node]
9: v8::internal::IC::ComputeHandler(v8::internal::LookupIterator*, v8::internal::Handlev8::internal::Object) [node]
10: v8::internal::StoreIC::UpdateCaches(v8::internal::LookupIterator*, v8::internal::Handlev8::internal::Object, v8::internal::Object::StoreFromKeyed) [node]
11: v8::internal::StoreIC::Store(v8::internal::Handlev8::internal::Object, v8::internal::Handlev8::internal::Name, v8::internal::Handlev8::internal::Object, v8::internal::Object::StoreFromKeyed) [node]
12: v8::internal::KeyedStoreIC::Store(v8::internal::Handlev8::internal::Object, v8::internal::Handlev8::internal::Object, v8::internal::Handlev8::internal::Object) [node]
13: v8::internal::Runtime_KeyedStoreIC_Miss(int, v8::internal::Object**, v8::internal::Isolate*) [node]
14: 0xbadfc58437d
Any idea? Got 16 GB RAM and 12 GB are useable.