Plugins (1059)


Training and Consulting (44)



EPIC Poll

What is your favourite developer portal?

[ Results | Polls ]

Votes: 541
Comments: 0

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
naveenreddya
Post subject: Re: RE: Eclipse error: JVM terminated Exit code=1  PostPosted: 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
 
 View user's profile Send private message  
Reply with quote Back to top
naveenreddya
Post subject:   PostPosted: 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
 
 View user's profile Send private message  
Reply with quote Back to top
naveenreddya
Post subject:   PostPosted: 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
 
 View user's profile Send private message  
Reply with quote Back to top
rlin
Post subject: Where is the location of Xmx?  PostPosted: 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

Guest wrote:
hi!

See: http://publib.boulder.ibm.com/infocente ... dcode.html

If you have the sun JVM 1.4.2.x or 1.5 increase the heap storage with the Xmx Parameter!
I had the same problem. I changed from Xmx256 to Xmx350
 
 View user's profile Send private message  
Reply with quote Back to top
asdfkl3
Post subject:   PostPosted: 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]
 
 View user's profile Send private message  
Reply with quote Back to top
johnmuir
Post subject: Solved: it was corruption in the eclipse.ini  PostPosted: 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?
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits