Search found 10 matches

by ittayd
21 Mar 2020, 06:38
Forum: Synology NAS & Embedded Linux
Topic: Limiting memory of filebot (java)?
Replies: 10
Views: 6790

Re: Limiting memory of filebot (java)?

I've set every aggressive flag I could find. The process starts at 20% memory and grows to 35%. At least now it doesn't cause my entire qnap to stall, but takes forever to run (even while running interpreted, there are python applications that do similar stuff) JAVA_OPTS="-XX:+TieredCompilation -XX ...
by ittayd
21 Mar 2020, 06:30
Forum: Synology NAS & Embedded Linux
Topic: Limiting memory of filebot (java)?
Replies: 10
Views: 6790

Re: Limiting memory of filebot (java)?

Can something similar to this be the culprit?: https://hibernate.atlassian.net/browse/HHH-10938?attachmentOrder=desc "The method reads the bytes from the InputStream to a byte array, however, the GZIPInputStream is never closed explicitly. From my understanding, this causes the leak, because the ...
by ittayd
21 Mar 2020, 05:41
Forum: Synology NAS & Embedded Linux
Topic: Limiting memory of filebot (java)?
Replies: 10
Views: 6790

Re: Limiting memory of filebot (java)?

22 files . It goes past writing the inputs, warning the index is out of date, then stalls for a long time with high cpu and the memory jumps when it starts moving files.

I can't see how java anywhere users 21MB. Just the JVM is more. I'm using Java 14 from java-install
by ittayd
20 Mar 2020, 16:11
Forum: Synology NAS & Embedded Linux
Topic: Limiting memory of filebot (java)?
Replies: 10
Views: 6790

Re: Limiting memory of filebot (java)?

Seems like using XX:MaxMetaspaceSize helped the situation. Can it be that filebot includes many unrequired classes that get parsed? Or maybe static content in some classes that makes them bloat?
by ittayd
20 Mar 2020, 15:03
Forum: Synology NAS & Embedded Linux
Topic: Limiting memory of filebot (java)?
Replies: 10
Views: 6790

Re: Limiting memory of filebot (java)?

So I tried these options and it doesn't really help. Does filebot read files into memory? That may explain how it gets to 3.5GB of memory.
by ittayd
20 Mar 2020, 14:28
Forum: Synology NAS & Embedded Linux
Topic: fpcalc not found on qnap
Replies: 5
Views: 3672

Re: fpcalc not found on qnap

I ended up creating a symlink to the arm v7l fpcalc and it seems to be working
by ittayd
20 Mar 2020, 14:11
Forum: Synology NAS & Embedded Linux
Topic: Limiting memory of filebot (java)?
Replies: 10
Views: 6790

Re: Limiting memory of filebot (java)?

Well, it is killing my qnap... Xmx is not really limiting the total memory of the jvm, just the memory it uses for its own heap. [~] # java -XX:+PrintFlagsFinal -Xmx796m -version | grep -Ei "maxheapsize|maxram" size_t MaxHeapSize = 834666496 {product} {command line} uint64_t MaxRAM = 137438953472 ...
by ittayd
20 Mar 2020, 11:56
Forum: Synology NAS & Embedded Linux
Topic: Limiting memory of filebot (java)?
Replies: 10
Views: 6790

Limiting memory of filebot (java)?

So it seems the java process for filebot uses 3.3G of my measly 1G qnap. How can I configure it to limit the memory, and what is the recommended size?
by ittayd
20 Mar 2020, 11:33
Forum: Synology NAS & Embedded Linux
Topic: fpcalc not found on qnap
Replies: 5
Views: 3672

Re: fpcalc not found on qnap

What does filebot -script fn:sysinfo say? FileBot 4.9.0 (r7234) JNA Native: 6.1.0 MediaInfo: 19.04 p7zip: p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs LE) unrar: UNRAR 5.30 beta 3 freeware FFprobe: 3.3.6 Chromaprint: java.io.IOException: Cannot run program "fpcalc ...
by ittayd
20 Mar 2020, 10:44
Forum: Synology NAS & Embedded Linux
Topic: fpcalc not found on qnap
Replies: 5
Views: 3672

fpcalc not found on qnap

I installed filebot from the filebot app repository. When I run the system info command I see: Chromaprint: java.io.IOException: Cannot run program "fpcalc": error=2, No such file or directory Tried to search for a solution to this but couldn't find one. There seem to be an fpcalc binary in the ...