I've seen this problem both before and after a recent upgrade of the Synology FileBot package, and I keep bumping -Xmx and still running out of heap space.
This makes me feel like there must be a memory leak somewhere in the extraction code.
Here's my sysinfo:
Code: Select all
$ JAVA_OPTS="-Xmx3G" filebot -script fn:sysinfo
FileBot 4.8.2 (r5710)
JNA Native: 5.2.0
MediaInfo: net.filebot.mediainfo.MediaInfoException: Unable to load amd64 (64-bit) native library libmediainfo.so: Unable to load library 'mediainfo': Native library (linux-x86-64/libmediainfo.so) not found in resource path ([file:/volume1/@appstore/filebot/jar/filebot.jar])
Apache Commons VFS: [zip, rar]
Chromaprint: java.io.IOException: Cannot run program "fpcalc": error=2, No such file or directory
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2018-07-15 (r530)
Groovy: 2.5.0
JRE: OpenJDK Runtime Environment 1.8.0_161
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 4 Core / 2 GB Max Memory / 27 MB Used Memory
OS: Linux (amd64)
HW: Linux libobab 4.4.59+ #23739 SMP PREEMPT Tue Jul 10 00:18:17 CST 2018 x86_64 GNU/Linux synology_apollolake_918+
DATA: [redacted]
Package: SPK
License: UNREGISTERED
Code: Select all
JAVA_OPTS="-Xmx3G" filebot -script fn:amc --output [redacted] --action copy --conflict skip --def deleteAfterExtract=y --def extractFolder=[redacted] .
Code: Select all
Exception in thread "Thread-482" java.lang.OutOfMemoryError: Java heap space
at com.github.junrar.unpack.ppm.SubAllocator.startSubAllocator(SubAllocator.java:146)
at com.github.junrar.unpack.ppm.ModelPPM.decodeInit(ModelPPM.java:215)
at com.github.junrar.unpack.Unpack.readTables(Unpack.java:652)
at com.github.junrar.unpack.Unpack.unpack29(Unpack.java:161)
at com.github.junrar.unpack.Unpack.doUnpack(Unpack.java:116)
at com.github.junrar.Archive.doExtractFile(Archive.java:553)
at com.github.junrar.Archive.extractFile(Archive.java:492)
at com.github.junrar.Archive$1.run(Archive.java:526)
at java.lang.Thread.run(Thread.java:748)
Code: Select all
Exception in thread "Thread-483" java.lang.OutOfMemoryError: Java heap space
at com.github.junrar.unpack.Unpack.init(Unpack.java:93)
at com.github.junrar.Archive.doExtractFile(Archive.java:549)
at com.github.junrar.Archive.extractFile(Archive.java:492)
at com.github.junrar.Archive$1.run(Archive.java:526)
at java.lang.Thread.run(Thread.java:748)