Not heap size Virtual Machine error

Problems with installing LogicalDOC? No problems, the solution is closer than you think.

Moderator: car031

teratech
Posts: 2
Joined: Tue Nov 20, 2018 9:00 pm

Not heap size Virtual Machine error

Tue Nov 20, 2018 9:16 pm

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.
agaspa
Posts: 714
Joined: Tue Apr 20, 2010 8:24 am

Re: Not heap size Virtual Machine error

Mon Nov 26, 2018 3:55 pm

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
teratech
Posts: 2
Joined: Tue Nov 20, 2018 9:00 pm

Re: Not heap size Virtual Machine error

Mon Feb 25, 2019 12:54 pm

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.
agaspa
Posts: 714
Joined: Tue Apr 20, 2010 8:24 am

Re: Not heap size Virtual Machine error

Tue Feb 26, 2019 11:42 am

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
Savnisharma
Contact:
Posts: 1
Joined: Mon May 27, 2019 5:54 am

Re: Not heap size Virtual Machine error

Mon May 27, 2019 9:40 am

Excellent post! I got valuable information here...Thanks for such an excellent informative post! Keep Up!
Harmanpubg18
Posts: 1
Joined: Mon Aug 10, 2020 10:09 am

Re: Not heap size Virtual Machine error

Mon Aug 10, 2020 10:15 am

You should look at the console and the installer log file

Return to “Installation”

Who is online

Users browsing this forum: No registered users and 10 guests