- This topic has 12 replies, 3 voices, and was last updated 19 years, 3 months ago by Alexander Hauswald.
-
AuthorPosts
-
bkaplanMembereclipse 3.1 final
jdk 1.5_04
myeclipse 4.0 M2When I attempt to create a UML model repository eclipse hard crashes. I’m left with that little screen that eclipse shows the command line arguments. After a restart there is a message in the error log indicating that eclipse crashed, but no stack or other information is provided.
Riyad KallaMemberTry this, shut down MyEclipse, go to your <workspace dir>\.metadata dir and erase the .log file, now startup MyEclipse, create a UMR repo, let it crash out, then go open the new .log file and paste it here.
bkaplanMemberDon’t think this is will be very helpful, but here it is:
!SESSION 2005-07-27 14:44:29.645 ----------------------------------------------- eclipse.buildId=I20050627-1435 java.version=1.5.0_04 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Command-line arguments: -os win32 -ws win32 -arch x86 !ENTRY org.eclipse.update.configurator 2005-07-27 14:44:31.910 !MESSAGE Could not install bundle ../eclipse-plugins/org.eclipse.gef/eclipse/plugins/org.eclipse.draw2d_3.1.0.jar Bundle "org.eclipse.draw2d" version "3.1.0" has already been installed from: update@../eclipse-myeclipse-4.0.M2/eclipse/plugins/org.eclipse.draw2d_3.1.0/ !ENTRY org.eclipse.update.configurator 2005-07-27 14:44:31.910 !MESSAGE Could not install bundle ../eclipse-plugins/org.eclipse.gef/eclipse/plugins/org.eclipse.gef_3.1.0.jar Bundle "org.eclipse.gef" version "3.1.0" has already been installed from: update@../eclipse-myeclipse-4.0.M2/eclipse/plugins/org.eclipse.gef_3.1.0/ !ENTRY com.cenqua.clover.eclipse 1 0 2005-07-27 14:44:51.191 !MESSAGE log level debug=false !ENTRY com.cenqua.clover.eclipse 1 0 2005-07-27 14:44:51.191 !MESSAGE Clover Version 1.3.9, built on July 07 2005 !ENTRY com.cenqua.clover.eclipse 1 0 2005-07-27 14:44:51.191 !MESSAGE loaded from: null !ENTRY com.cenqua.clover.eclipse 1 0 2005-07-27 14:44:51.316 !MESSAGE loading version 1.2.5 (build-616) (intended for eclipse3.0+) !ENTRY com.cenqua.clover.eclipse 1 0 2005-07-27 14:44:51.316 !MESSAGE loading from: platform:/plugin/com.cenqua.clover.eclipse_1.2.5/clover.license !ENTRY com.cenqua.clover.eclipse 1 0 2005-07-27 14:44:51.676 !MESSAGE 1 Seat Team License registered to bkaplan@memelet.com, Barry Kaplan
Riyad KallaMemberIt doesn’t seem you are using any command line args to give eclispe more memory, this very well could just be an OOM exception causign the VM to die, try modifying your command line args to add:
-vmargs -Xmx256m
and see if that helps.
bkaplanMemberI don’t think so… This is how I launch eclipse:
C:\eclipse\eclipse.exe -vm %JAVA_HOME%\jre\bin\javaw.exe -vmargs -Xmx1536M -Xms512M
I also use codepro, and that has a vm monitor which shows me using over 1G quite often.
bkaplanMemberBut the log sure has a different idea, doesn’t it… I don’t know what to make of it.
bkaplanMemberI just did the crash sequence to get the dialog that shows the command line. It is in accord with my launch command. The log is just wrong.
Riyad KallaMemberBarry,
Try this:1) Start MYEclipse
2) File > Switch Workspace > C:\tempworkspace, hit OK
3) Create a new project
4) Try and create a UML repository… did it work?
bkaplanMemberI also suspected it might be the workspace. But even with a brand new workspace it still crashed. So instead of launching eclipse with the command line above, I just invoked eclipse.exe directly. Then I was able to create the repository!
However, once I tried to open the workspace againg using the command line above, eclipse crashes on startup now.
So its either something to do with the command line args, or the particular JDK I’m using (1.5_04). I’ll play with some other combinations of and see what I can learn.
thanks!
bkaplanMemberHere’s some interesting stuff:
1) eclipse.exe
Everything works great (but the no enough memory for my projects).
2) eclipse.exe -vmargs -Xmx1024M
Eclipse starts, but the repository view is completely garbled. The toolbar is noise, and the content is a bunch of alternating thick blue and thin white lines. Opening and closing view produces the same result.
3) eclipse.exe -vmargs -Xmx512M
This works ok. Very strange.
4) eclipse.exe -vmargs -Xmx786M
This also works.
5) eclipse.exe -vmargs -Xmx1023M
Garbled.
6) eclipse.exe -vmargs -Xmx999M
Garbled.
7) eclipse.exe -vmargs -Xmx787M
Ok
… binary search steps left out …
At 904M, ok.
At 905M, garble.
At 1536M, crash (I did not find the actual bounds for the crash)I have no idea what to make of this.
—
My box:
– HP with an AMD Athalon 64
– 2G ram
– Windows XP Home
– Page file size of 1536 – 3072 (on a single partition)
– JDK 1.5_04
Riyad KallaMemberI appreciate the additional details but unforunately have no idea what to make of the current situation except to use a value that doesn’t cause a crash (obviously). I also don’t trust XP Home, get your hands on Pro or better yet 64 Pro (what I am running now) it’s based on the 2k3 kernel and will run faster/smoother on you 64 bit chip.
bkaplanMember
Alexander HauswaldMemberHi there,
same happened to me.
IDE crashed for vmargs: Xms40m & Xmx256m
I then changed to 128m & 256m and now it works.
Does’t seem to be related to the workspace i’m using.
NEvertheless after restarting the workbench the UML repository is existent and usable.I’m using Eclipse 3.1, MyEclipse 4.0M2 and the Subclipse Plugin
Hope we can track down this issue, although i have the feeling its more eclipse related than because of a plugin
bye
Alex -
AuthorPosts