Hi there,
Since a couple of weeks, Filebot sometimes copies all my movies I downloaded to another folder called "unsorted". So usually I would just move them back to where they were and start the process again. It usually works the second time (renaming, creating a folder for each movie and move them there).
But since yesterday, it simply doesn't do anything anymore.. (just moving them into an unsorted folder).
Would be really glad about help.
Logs:
Sysinfo: https://pastebin.com/XtnEQbp6
Log for the said process which moves the movies to an unsorted folder: https://pastebin.com/VQ26WFEQ
Thanks in advance and have a great day!
Movies being copied to unsorted folder
Re: Movies being copied to unsorted folder
You can disable Unsorted behaviour by removing the --def unsorted=y option.
In this case, you're getting an Java heap space error (i.e. running out of memory) during auto-detection, so and Unsorted behaviour takes over.
If you're using the command-line then you can increase the memory limit via environment variables (i.e. export JAVA_OPTS=-Xmx1024m) and modifying configuration files. But if you're using FileBot Node, and aren't familiar with the command-line, then there's not much you can do.
EDIT:
If you're familiar with SSH, then you can log into your NAS, and manually modify the startup script in the filebot-node application folder:
and replace:
with:
to manually force a higher memory limit. The memory limit must be below your physical RAM, otherwise the process will crash immediately.
In this case, you're getting an Java heap space error (i.e. running out of memory) during auto-detection, so and Unsorted behaviour takes over.
If you're using the command-line then you can increase the memory limit via environment variables (i.e. export JAVA_OPTS=-Xmx1024m) and modifying configuration files. But if you're using FileBot Node, and aren't familiar with the command-line, then there's not much you can do.
EDIT:
If you're familiar with SSH, then you can log into your NAS, and manually modify the startup script in the filebot-node application folder:
Code: Select all
/var/packages/filebot-node/target
Code: Select all
export JAVA_OPTS=$(awk '/MemTotal:/ { xmx = ($2*0.8)/1024; if (xmx < 1024) { printf "-Xmx%dm", xmx }; exit}' /proc/meminfo) # set -Xmx to 0.8 of physical memory (on low-memory devices)
Code: Select all
export JAVA_OPTS=-Xmx1536m
-
- Posts: 6
- Joined: 19 Sep 2020, 04:58
Re: Movies being copied to unsorted folder
Thanks for your reply rednoah!
I'm using Filebot Node, so can I define something in the line "Unsorted format"?
And if not, I know my way around the command-line (at least a bit).. could you help me where I can increase the memory limit?
I'm using Filebot Node, so can I define something in the line "Unsorted format"?
And if not, I know my way around the command-line (at least a bit).. could you help me where I can increase the memory limit?
Re: Movies being copied to unsorted folder
--def unsortedFormat is likely useless for what you want to achieve, because Unsorted files are not associated with any Movie / Episode information, so information such as "movie name" or "movie year" won't be available for the destination file path.
I've added instructions for modifying the startup configuration in my EDIT above.

-
- Posts: 6
- Joined: 19 Sep 2020, 04:58
Re: Movies being copied to unsorted folder
so this is what i wrote on the line you told me:
and this is what i get now as an error message once i start Filebot Node:
Error occurred during initialization of VM
Too small maximum heap
------------------------------------------
[Process error]
Edit: found it out...
Code: Select all
export JAVA_OPTS=-Xmx1536
Error occurred during initialization of VM
Too small maximum heap
------------------------------------------
[Process error]
Edit: found it out...
Code: Select all
export JAVA_OPTS="-Xmx1536m"
Re: Movies being copied to unsorted folder
I'm sorry, but can someone help me, as I'm not as familiar with the CLI on my Synology, but I appear to be having the same issue with memory on the initial run of filebot on DSM7. I have expanded my DS920+ to 8gb RAM. Following the instructions above, I don't see specifically which file is the startup config. Essentially I am lost once I get to /var/packages/filebot-node/target. Can someone please point me in the right direction. Sorry for the noob question.
Re: Movies being copied to unsorted folder
You will likely find the startup script here:
It'll look like this:
https://github.com/filebot/filebot-node ... -start#L15
Edit the startup script and set JAVA_OPTS to a specific value:
Code: Select all
/var/packages/filebot-node/target/bin/filebot-node-start
https://github.com/filebot/filebot-node ... -start#L15
Edit the startup script and set JAVA_OPTS to a specific value:
rednoah wrote: ↑17 Mar 2021, 17:40 If you're familiar with SSH, then you can log into your NAS, and manually modify the startup script in the filebot-node application folder:and replace:Code: Select all
/var/packages/filebot-node/target
with:Code: Select all
export JAVA_OPTS=$(awk '/MemTotal:/ { xmx = ($2*0.8)/1024; if (xmx < 1024) { printf "-Xmx%dm", xmx }; exit}' /proc/meminfo) # set -Xmx to 0.8 of physical memory (on low-memory devices)
to manually force a higher memory limit. The memory limit must be below your physical RAM, otherwise the process will crash immediately.Code: Select all
export JAVA_OPTS=-Xmx1536m