Invalid maximum heap size: -Xmx6538m

Any questions? Need some help?
Post Reply
ArTi
Posts: 15
Joined: 02 Nov 2016, 16:38

Invalid maximum heap size: -Xmx6538m

Post by ArTi »

i'm trying filebot-node on nas Synology and have this error :

Code: Select all

filebot -script 'fn:sysinfo' --log-file '/usr/local/filebot-node/data/filebot.log'

------------------------------------------

Invalid maximum heap size: -Xmx6538m
The specified size exceeds the maximum representable size.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
------------------------------------------

[Process error]
I'm on a Nas Syno 32bits DS1817 with 8Go of ram
anyone can help me to fix it ?
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Invalid maximum heap size: -Xmx6538m

Post by rednoah »

Please log in via SSH, run these commands, and paste the output:

Code: Select all

uname -a

Code: Select all

free

Code: Select all

free | awk -vm=1024 -vp=0.8 '/Mem:/ {printf "-Xmx%dm", ($2*p)/m; exit}'
:idea: Please read the FAQ and How to Request Help.
kmb1219
Posts: 1
Joined: 14 Feb 2020, 03:30

Re: Invalid maximum heap size: -Xmx6538m

Post by kmb1219 »

Hi was there a fix for this? Below is my output from the commands.

Code: Select all

[~] # uname -a
Linux gluteNAS 4.2.8 #2 SMP Fri Dec 6 16:40:58 CST 2019 armv7l unknown

Code: Select all

[~] # free
              total         used         free       shared      buffers
  Mem:      8363008      3394752      4968256       389568       482944
 Swap:     24542368        30304     24512064
Total:     32905376      3425056     29480320
[~] # free | awk -vm=1024 -vp=0.8 '/Mem:/ {printf "-Xmx%dm", ($2*p)/m; exit}'
-Xmx6533m[~] #
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Invalid maximum heap size: -Xmx6538m

Post by rednoah »

Try the latest FileBot Node 0.2.9 beta:
https://github.com/filebot/filebot-node ... /tag/0.2.9

And for that you'll need the latest FileBot 4.9.0 beta:
https://get.filebot.net/filebot/BETA/

And for that you'll need Java 13 just in case it's not already installed by default.
:idea: Please read the FAQ and How to Request Help.
Post Reply