| Eclipse C++ crash [message #649058] |
Mon, 17 January 2011 08:13  |
Eclipse User |
|
|
|
I am at my wit's end with this. I am using Eclipse for Java and C++ development, and have separate installations for the two. There are no problems with the Java installation, but the C++ one crashed frequently. It loads normally, but after a couple of minutes, Eclipse closes, and I get the following message:
---------------------------
Eclipse
---------------------------
Java was started but returned exit code=1
C:\Windows\system32\javaw.exe
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx384m
-XX:MaxPermSize=256m
-jar C:\Program Files\eclipse\plugins/org.eclipse.equinox.launcher_1.1.0.v20 100507.jar
-os win32
-ws win32
-arch x86_64
-showsplash
-launcher C:\Program Files\eclipse\eclipse.exe
-name Eclipse
--launcher.library C:\Program Files\eclipse\plugins/org.eclipse.equinox.launcher.win32.win 32.x86_64_1.1.0.v20100503\eclipse_1307.dll
-startup C:\Program Files\eclipse\plugins/org.eclipse.equinox.launcher_1.1.0.v20 100507.jar
-exitdata 990_58
-product org.eclipse.epp.package.java.product
-vm C:\Windows\system32\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx384m
-XX:MaxPermSize=256m
-jar C:\Program Files\eclipse\plugins/org.eclipse.equinox.launcher_1.1.0.v20 100507.jar
---------------------------
OK
---------------------------
I have tried searching for this, but have had no luck. I have added the -XX:MaxPermSIze=256m to Eclipse.ini, but that hasn't helped. Using 512m doesn't either.
This problem only started occurring after I installed the latest JDK, and uninstalling that doesn't help either.
Does anyone have any thoughts?
Thanks.
(It's not obvious how to attach a file, so here is my eclipse.ini file. Sorry this makes the post so long.
-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1. 0.v20100503
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-XX:MaxPermSize=256m
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx384m
|
|
|
|
|
| Re: Eclipse C++ crash [message #649804 is a reply to message #649058] |
Thu, 20 January 2011 10:11  |
Eclipse User |
|
|
|
On 1/17/11 8:13 AM, de919191@yahoo.com wrote:
> I am at my wit's end with this. I am using Eclipse for Java and C++
> development, and have separate installations for the two. There are no
> problems with the Java installation, but the C++ one crashed frequently.
> It loads normally, but after a couple of minutes, Eclipse closes, and I
> get the following message:
> (It's not obvious how to attach a file, so here is my eclipse.ini file.
> Sorry this makes the post so long.
>
>
> -startup
> plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
> --launcher.library
> plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1. 0.v20100503
> -product
> org.eclipse.epp.package.java.product
> --launcher.defaultAction
> openFile
> --launcher.XXMaxPermSize
> 256M
> -showsplash
> org.eclipse.platform
> --launcher.XXMaxPermSize
> 256m
> --launcher.defaultAction
> openFile
> -vmargs
> -XX:MaxPermSize=256m
> -Dosgi.requiredJavaVersion=1.5
> -Xms40m
> -Xmx384m
>
I notice that you're pointing Eclipse to use the Java VM under
Windows/system32 - that's usually not the right one. Are you sure that
is the latest JVM that you've installed? I thought on windows it usually
went somewhere under Program Files...
Eric
|
|
|
Powered by
FUDForum. Page generated in 0.08831 seconds