https://bugzilla.novell.com/show_bug.cgi?id=463807 User funtasyspace@yahoo.com added comment https://bugzilla.novell.com/show_bug.cgi?id=463807#c307488 Summary: eclipse crashes because java vmargs are overwritten Product: openSUSE 11.1 Version: Final Platform: Other OS/Version: openSUSE 11.1 Status: NEW Severity: Critical Priority: P5 - None Component: Java AssignedTo: bnc-team-java@forge.provo.novell.com ReportedBy: funtasyspace@yahoo.com QAContact: qa@suse.de CC: hmuelle@novell.com, felix@derklecks.de, anosek@novell.com, scottolcott@gmail.com, rob@hasselbaum.net Found By: --- * I don't know if this is a regression of bug #307488 or related to it, so I opened a new one. * I was wondering why I permanently get those 'java.lang.OutOfMemoryError: PermGen space' errors resulting in eclipse crashing when running eclipse on openSUSE 11.1. Allthough I modified '/etc/eclipse.conf' and added '-XX:MaxPermSize=256M' to the VM_ARGS this doesn't seem to have any effect. Investigating in a running eclipse 'Help > About Eclipse SDK > Configuration Details' shows the problem: *** System properties: .. -vm /usr/lib64/jvm/java/bin/java -vmargs -Xms256m -Xmx1024m -XX:MaxPermSize=256M -vm /usr/bin/java eclipse.ee.install.verify=false eclipse.home.location=file:/usr/lib64/eclipse/ eclipse.launcher=/usr/lib64/eclipse/eclipse eclipse.product=org.eclipse.sdk.ide eclipse.startTime=1231249746644 eclipse.vm=/usr/bin/java eclipse.vmargs=-jar /usr/share/eclipse/./plugins/org.eclipse.equinox.launcher_1.0.100.v20080509-1800.jar .. As you can see 'eclipse.vmargs' is empty, although the '-vmargs -Xms256m -Xmx1024m -XX:MaxPermSize=256M' was passed. Looking at the running processes reveals: # less /etc/eclipse.conf linux:/home/user1 # ps aux | grep java user1 14211 0.0 0.0 12476 1552 pts/13 S+ 14:49 0:00 /bin/bash /usr/share/eclipse/eclipse -vm /usr/lib64/jvm/java/bin/java -vmargs -Xms256m -Xmx1024m -XX:MaxPermSize=256M user1 14212 0.0 0.0 10372 892 pts/13 S+ 14:49 0:00 /usr/share/eclipse/eclipse.bin -startup /usr/share/eclipse/./plugins/org.eclipse.equinox.launcher_1.0.100.v20080509-1800.jar -vm /usr/lib64/jvm/java/bin/java -vmargs -Xms256m -Xmx1024m -XX:MaxPermSize=256M user1 14213 89.0 7.8 1191804 242652 pts/13 Sl+ 14:49 0:09 /usr/bin/java -jar /usr/share/eclipse/./plugins/org.eclipse.equinox.launcher_1.0.100.v20080509-1800.jar -os linux -ws gtk -arch x86_64 -showsplash -launcher /usr/lib64/eclipse/eclipse -name Eclipse --launcher.library /usr/lib64/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.0.100.v20080606/eclipse_1114b.so -startup /usr/share/eclipse/./plugins/org.eclipse.equinox.launcher_1.0.100.v20080509-1800.jar -exitdata 4b0005 -vm /usr/lib64/jvm/java/bin/java -vmargs -Xms256m -Xmx1024m -XX:MaxPermSize=256M -vm /usr/bin/java -vmargs -jar /usr/share/eclipse/./plugins/org.eclipse.equinox.launcher_1.0.100.v20080509-1800.jar Notice in the last process call, that there is an additional '-vm /usr/bin/java -vmargs' which probably overrides the previous '-vm /usr/lib64/jvm/java/bin/java -vmargs -Xms256m -Xmx1024m -XX:MaxPermSize=256M'. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.