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

Re: Not heap size Virtual Machine error

Posted: Mon Feb 25, 2019 12:54 pm
by teratech
Thanks, but .jar file is not an option. I'm running Windows 8.1 and only .exe installers are available.

I've put it away for a while, but now I'm in acute need of a DMS and LogicalDoc seems to pop up as the best choice. However it still doesn't install for the same reason.

Re: Not heap size Virtual Machine error

Posted: Tue Feb 26, 2019 11:42 am
by agaspa
You can get the .zip (Linux) installer, uncompress it and then you will have the .jar file.
From there you can open a command prompt and launch the installer from the command line

Re: Not heap size Virtual Machine error

Posted: Mon May 27, 2019 9:40 am
by Savnisharma
Excellent post! I got valuable information here...Thanks for such an excellent informative post! Keep Up!

Re: Not heap size Virtual Machine error

Posted: Mon Aug 10, 2020 10:15 am
by Harmanpubg18
You should look at the console and the installer log file