Page 1 of 1

Not heap size Virtual Machine error

Posted: Tue Nov 20, 2018 9:16 pm
by teratech
When trying to install free LogicalDOC SW I constantly receives the error message: "Could not create Java Virtual Machine...". This is normally due to a memory-allocation error, but Java reponds well in a console when issuing: "java -Xmx512M -version". It only indicates a problem when launching the LogicalDOC installer.

Re: Not heap size Virtual Machine error

Posted: Mon Nov 26, 2018 3:55 pm
by agaspa
Usually you should launch the installer with the command

Code: Select all

java -jar logicaldoc-installer.jar
or

Code: Select all

java -jar logicaldoc-installer.jar -console
https://docs.logicaldoc.com/en/installa ... ldoc-linux

Honestly I never had this problem, even when I installed on servers with only 4GB of memory
You should look at the console and the installer log file

Of course you can add the options -Xmx when you launch the installer

Code: Select all

java -Xmx1024m -jar logicaldoc-installer.jar