Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eclipse crashes everyday

 
Prachi Deodhar
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using eclipse 3.2. Eclipse crashes after 5-6 hours of development everday. Sometimes it gives Out of Memory error. Sometimes it disappears from screen without any warnings. My arguments in eclipse.ini are -vmargs
-Xms512m
-Xmx1024m
How can i get rid of this problem.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34672
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Prachi,
Is there anything in the workspace/.metadata/.log file that looks relevant?
 
Prachi Deodhar
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, it doesnt!
 
Frank Bacher
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure if this is helpful for you, but i had a similar problem. Sometimes I got an OutOfMemoryError.

In my case the message was something like java.lang.OutOfMemoryError: PermGen space. For me, the solution was to add the parameter '-XX:PermSize=128m'. Since i did that, Eclipse isn't crashing anymore.
[ April 18, 2008: Message edited by: Frank Bacher ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic