| Author |
Message |
|
|
Post subject: Re: RE: Eclipse error: JVM terminated Exit code=1
Posted: May 01, 2008 - 01:25 PM
|
|
Joined: May 01, 2008
Posts: 3
|
|
| Anonymous wrote: | I had the same error occur with me using Websphere Application Developer (which is built on top of eclipse). I have 1.5Gb of memory but I seems to be at 100% Memory Usage. Please check your task manager and let me know if you are experiencing the same problem.
Thanks |
I had the same issue with RAD 7.0 (Websphere Application Developer 7.0). JVM all of sudden exiting and never eclipse was starting. I think Websphere by default adds more parameters in eclipse.ini thats what was creating problem.
This was default one
-vm
C:\RAD7\SDP70\jdk\jre\bin\javaw.exe
-vmargs
-Xquickstart
-Xms40m
-Xmx768m
-Xgcpolicy:gencon
-Xscmx96m
-Xshareclasses:singleJVM,keep
-Xnolinenumbers
-XX:MaxPermSize=512M
After removing this parameter from the file everyrthing worked
-Xshareclasses:singleJVM,keep
Thanks,
naveen |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: May 01, 2008 - 01:26 PM
|
|
Joined: May 01, 2008
Posts: 3
|
|
I had the same issue with RAD 7.0 (Websphere Application Developer 7.0). JVM all of sudden exiting and never eclipse was starting. I think Websphere by default adds more parameters in eclipse.ini thats what was creating problem.
This was default one
-vm
C:\RAD7\SDP70\jdk\jre\bin\javaw.exe
-vmargs
-Xquickstart
-Xms40m
-Xmx768m
-Xgcpolicy:gencon
-Xscmx96m
-Xshareclasses:singleJVM,keep
-Xnolinenumbers
-XX:MaxPermSize=512M
After removing this parameter from the file everyrthing worked
-Xshareclasses:singleJVM,keep
Thanks,
naveen |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: May 01, 2008 - 01:28 PM
|
|
Joined: May 01, 2008
Posts: 3
|
|
I had the same issue with RAD 7.0 (Websphere Application Developer 7.0). JVM all of sudden exiting and never eclipse was starting. I think Websphere by default adds more parameters in eclipse.ini thats what was creating problem.
This was default one
-vm
C:\RAD7\SDP70\jdk\jre\bin\javaw.exe
-vmargs
-Xquickstart
-Xms40m
-Xmx768m
-Xgcpolicy:gencon
-Xscmx96m
-Xshareclasses:singleJVM,keep
-Xnolinenumbers
-XX:MaxPermSize=512M
After removing this parameter from the file everyrthing worked
-Xshareclasses:singleJVM,keep
Thanks,
naveen |
|
|
| |
|
|
|
 |
|
|
Post subject: Where is the location of Xmx?
Posted: May 22, 2008 - 11:17 AM
|
|
Joined: May 22, 2008
Posts: 1
|
|
I got JVM terminated. Exit code=1
when I tried to create new Dynamic Web Application.
I would like to try increase Xmx and Xms, however, I don't know where to modify.
Could you let me know the location?
RLin
|
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: May 26, 2008 - 06:48 AM
|
|
Joined: May 26, 2008
Posts: 1
|
|
hy,
i had the same problem and seemed to fix it.
i just copied the command from the error message into an executable file and moved it to ~/bin
| Code: | ln -s /usr/lib/jvm/java-6-sun/bin/java ~/bin/java
echo /usr/lib/jvm/java-6-sun/bin/java -Djava.library.path=/usr/lib/jni -Dgnu.gcj.precompiled.db.path=/var/lib/gcj-4.2/classmap.db -Dgnu.gcj.runtime.VMClassLoader.library_control=never -Dosgi.locking=none -jar /usr/lib/eclipse/startup.jar -os linux -ws gtk -arch x86_64 -launcher /usr/lib/eclipse/eclipse -name Eclipse -showsplash 600 -exitdata 5d8013 -install /usr/lib/eclipse -vm /usr/lib/jvm/java-6-sun/bin/java -vmargs -Djava.library.path=/usr/lib/jni -Dgnu.gcj.precompiled.db.path=/var/lib/gcj-4.2/classmap.db -Dgnu.gcj.runtime.VMClassLoader.library_control=never -Dosgi.locking=none -jar /usr/lib/eclipse/startup > ~/bin/eclipse
chmod 705 ~/bin/eclipse
|
Seems to be running now for me.[/code] |
|
|
| |
|
|
|
 |
|
|
Post subject: Solved: it was corruption in the eclipse.ini
Posted: May 27, 2008 - 09:05 AM
|
|
Joined: May 27, 2008
Posts: 1
|
|
This was also driving me nuts until I looked in the eclipse.ini file in the eclipse installation folder. Somehow the line
--launcher.XXMaxPermSize256M
had been split into two lines
--launcher.XXMaxPermSize
256M
Correcting this. eliminated the problem. I've no idea who/what caused the error, maybe a bug in the options handler. Any one know? |
|
|
| |
|
|
|
 |
|
|