[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.jdt] Re: How to prevent out of memory errors?

Unfortunately this isn't really helping, no matter how I monkey with the heap or permanent generation memory values. I was using the values below in my eclipse.ini the last time it crashed (OutOfMemoryError: PermGen space):

-vmargs
-Xms120m
-Xmx1024m
-XX:PermSize=256M
-XX:MaxPermSize=512M

I recently added another 2Gb of RAM to my system in order to avoid just this sort of problem. I thought I could just pop it in and not have to update any of my Windows XP system configuration settings. Was this perhaps just wishful thinking, i.e. is it possible that this is a problem outside of the realm of Eclipse which might require for me to make some system configuration changes for my extra memory? Bear in mind that Eclipse is the only program I run on this system which crashes because it runs out of memory, and it happens when there is a full 1Gb or more of memory to spare. Fortunately when this sort of crash happens Eclipse doesn't corrupt or lose much data other than its UI state, but this periodic crashing (once every two hours or so) is an annoyance I'd like to avoid if possible, especially since I just spent $250 for additional memory which I thought would prevent this sort of thing from happening.

Any further ideas would be greatly appreciated.


--James