OpenSim 3.3 JVM startup error
- Sarah Taylor
- Posts: 2
- Joined: Tue Aug 11, 2015 8:30 am
OpenSim 3.3 JVM startup error
Hi,
I have installed OpenSim 3.3 on several windows xp computers we have here and on attempting to start OpenSim I get the following error 'JVM creation failed' - the software then doesnt start.
Could anyone advise on a way around this?
Thanks
Sarah
I have installed OpenSim 3.3 on several windows xp computers we have here and on attempting to start OpenSim I get the following error 'JVM creation failed' - the software then doesnt start.
Could anyone advise on a way around this?
Thanks
Sarah
- Xianwei ZENG
- Posts: 1
- Joined: Fri Sep 12, 2014 8:48 pm
Re: OpenSim 3.3 JVM startup error
Same error on win 10
- Ayman Habib
- Posts: 2248
- Joined: Fri Apr 01, 2005 12:24 pm
Re: OpenSim 3.3 JVM startup error
Hi,
We've seen this error particularly when trying to run 32 bit distribution on 64 bit machines due to memory management issues of the JVM. The solution(s) are:
1. If on 64 bit machine, better use the 64 bit distribution.
2. If you need to run the 32 bit distribution on 64 bit machine (for Matlab or any other reason), please close a few other applications as the JVM needs a large contiguous block of memory to start. Having many processes running even if the physical memory is huge can cause the memory to fragment and the JVM to fail to start.
3. There're options to customize memory management of the JVM but these are hard to tune though you can look them up and modify the settings in the .conf file as needed.
Hope this helps,
-Ayman
We've seen this error particularly when trying to run 32 bit distribution on 64 bit machines due to memory management issues of the JVM. The solution(s) are:
1. If on 64 bit machine, better use the 64 bit distribution.
2. If you need to run the 32 bit distribution on 64 bit machine (for Matlab or any other reason), please close a few other applications as the JVM needs a large contiguous block of memory to start. Having many processes running even if the physical memory is huge can cause the memory to fragment and the JVM to fail to start.
3. There're options to customize memory management of the JVM but these are hard to tune though you can look them up and modify the settings in the .conf file as needed.
Hope this helps,
-Ayman
- Sarah Taylor
- Posts: 2
- Joined: Tue Aug 11, 2015 8:30 am
Re: OpenSim 3.3 JVM startup error
Hi Ayman,
I am installing the 32 bit version on a 32 bit machine so that isnt the issue. No other applications were open but I guess there may have been processes running in the background limiting the memory.
At some point I will attempt your option 3 and see if I can solve the problem.
For now I have installed OpenSim 3.2 which seems to be working fine.
Thank you for your help!
Sarah
I am installing the 32 bit version on a 32 bit machine so that isnt the issue. No other applications were open but I guess there may have been processes running in the background limiting the memory.
At some point I will attempt your option 3 and see if I can solve the problem.
For now I have installed OpenSim 3.2 which seems to be working fine.
Thank you for your help!
Sarah
- Jakob Welner
- Posts: 23
- Joined: Mon Dec 15, 2014 3:24 pm
Re: OpenSim 3.3 JVM startup error
Hi,
I had the same issue running Windows 7 64bit where I'm using 32bit OpenSim for Virtual Studio and Matlab coherence.
I solved it (so far) by installing 64bit JVM and editing the ../etc/opensim.conf to point at the 64bit jvm as seen is this snippet from line 10:
So far it looks like it's working.
I'm afraid that this solution does not apply for your case, when you are running x32 OS but I wanted to post it in case others could find it useful.
However, regarding Ayman's 3. alternative, I found this page that gives a little more info and shows you how to try it out.
https://code.google.com/p/osm2garmin/wi ... ge_JVM_cre
I had the same issue running Windows 7 64bit where I'm using 32bit OpenSim for Virtual Studio and Matlab coherence.
I solved it (so far) by installing 64bit JVM and editing the ../etc/opensim.conf to point at the 64bit jvm as seen is this snippet from line 10:
Code: Select all
# default location of JDK/JRE, can be overridden by using --jdkhome <dir> switch
#jdkhome="jdk"
jdkhome = "C:\Program Files\Java\jre7\bin"
I'm afraid that this solution does not apply for your case, when you are running x32 OS but I wanted to post it in case others could find it useful.
However, regarding Ayman's 3. alternative, I found this page that gives a little more info and shows you how to try it out.
https://code.google.com/p/osm2garmin/wi ... ge_JVM_cre
Re: OpenSim 3.3 JVM startup error
If you are still having problems with the JVM startup error, try starting OpenSim with less heap space. You can do this by modifying the options when starting OpenSim.
Can use any text editor to modify opensim.conf (probably located at C:\OpenSim 3.3\etc\opensim.conf)
original:
default_options="--branding opensim -J-Xms24m -J-Xmx1024m -J-Dsun.java2d.ddoffscreen=false -J-Dsun.java2d.gdiblit=false -J-Dsun.java2d.noddraw=true -J-Duser.language=en"
example modification:
default_options="--branding opensim -J-Xms24m -J-Xmx512m -J-Dsun.java2d.ddoffscreen=false -J-Dsun.java2d.gdiblit=false -J-Dsun.java2d.noddraw=true -J-Duser.language=en"
Lowering the heap space may cause problems later if OpenSim needs more memory, but I haven't had any issues yet.
Can use any text editor to modify opensim.conf (probably located at C:\OpenSim 3.3\etc\opensim.conf)
original:
default_options="--branding opensim -J-Xms24m -J-Xmx1024m -J-Dsun.java2d.ddoffscreen=false -J-Dsun.java2d.gdiblit=false -J-Dsun.java2d.noddraw=true -J-Duser.language=en"
example modification:
default_options="--branding opensim -J-Xms24m -J-Xmx512m -J-Dsun.java2d.ddoffscreen=false -J-Dsun.java2d.gdiblit=false -J-Dsun.java2d.noddraw=true -J-Duser.language=en"
Lowering the heap space may cause problems later if OpenSim needs more memory, but I haven't had any issues yet.
- dan german
- Posts: 1
- Joined: Sat Nov 28, 2015 4:50 pm
Re: OpenSim 3.3 JVM startup error
thank you very much Hoa. your suggestion worked for me.
fyi, i am running opensim on 32bit xp with 1G ram.
fyi, i am running opensim on 32bit xp with 1G ram.
- pulung aji
- Posts: 1
- Joined: Fri Apr 15, 2016 4:08 am
Re: OpenSim 3.3 JVM startup error
hxhoang wrote:If you are still having problems with the JVM startup error, try starting OpenSim with less heap space. You can do this by modifying the options when starting OpenSim.
Can use any text editor to modify opensim.conf (probably located at C:\OpenSim 3.3\etc\opensim.conf)
original:
default_options="--branding opensim -J-Xms24m -J-Xmx1024m -J-Dsun.java2d.ddoffscreen=false -J-Dsun.java2d.gdiblit=false -J-Dsun.java2d.noddraw=true -J-Duser.language=en"
example modification:
default_options="--branding opensim -J-Xms24m -J-Xmx512m -J-Dsun.java2d.ddoffscreen=false -J-Dsun.java2d.gdiblit=false -J-Dsun.java2d.noddraw=true -J-Duser.language=en"
Lowering the heap space may cause problems later if OpenSim needs more memory, but I haven't had any issues yet.
this is work in Windows 7 32 bit
- masume hessam
- Posts: 1
- Joined: Fri Dec 25, 2015 9:35 am
Re: OpenSim 3.3 JVM startup error
Hi
I installing opensim 3.2 (23 bit) on windows 7 (32 bit). the installation process was successful. but when i run the program, the JVM creation error was appeared.
what should i do now???
I installing opensim 3.2 (23 bit) on windows 7 (32 bit). the installation process was successful. but when i run the program, the JVM creation error was appeared.
what should i do now???
- Poramet Hemarachatanon
- Posts: 5
- Joined: Tue May 26, 2015 11:47 pm
Re: OpenSim 3.3 JVM startup error
Thanks for pulung aji /" hxhoang wrote: " that for your suggestion. JVM startup error.