Not heap size Virtual Machine error

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

Moderator: car031

teratech
Posts: 1
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: 622
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

Return to “Installation”

Who is online

Users browsing this forum: No registered users and 0 guests