0 votes
2.1k views
I cannot launch OpenLCA anymore, as I get a pop-up "failed to create java virtual machine". I had closed OpenLCA because had to allocate more memory to OpenLCA after getting a message saying to do so.

Many thanks for your help.
in openLCA by (850 points)

2 Answers

+1 vote
by (126k points)

You cannot allocate more memory than your computer has available when openLCA starts. The allocated memory is entered into an openLCA.ini file which is basically a text file. It is in the same folder as openLCA.exe. Try to find it, open it, and in this file, search for

-Xmx12345M

12345 is the allocated memory in MB (hence "M"), so here 12.345 MB, and in your case numbers will be different. Change this to an amount feasible for your computer, then save and restart openLCA.

by (220 points)
Perhaps this is not an issue with the size of the memory, but you can try replacing the corresponding ini file from the installation package to resolve it.
0 votes
by (220 points)

Perhaps this is not an issue with the size of the memory, but you can try replacing the corresponding ini file from the installation package to resolve it.

...