- by Tim
If you happen to have Eclipse not responding anymore sometimes, the reason could be that you sit on a 64bit machine where eclipse needs more memory. Be sure to have (at least) the following configurations in your eclipse.ini (I even use bigger values for the PermSizes):
-Xms512m -Xmx1024m -XX:PermSize=64m -XX:MaxPermSize=128m photo credit: Simon Pow
I had this problem with eclipse-php and using Drupal 6. It took me a while to realize that eclipse was trying to load all of the old aggregated JS files into memory before throwing an error. Once I emptied out sites/default/files/js and rebuilt the workspace everything ran smoothly.
Fixed my issue on Windows 7 64bit. Nice advice – saved me a big headache thanks.
Thanks for advice, it really helped me.
I’d also like to leave my thanks. This fixed my problems.
thanks a lot. It’s helpful to me..
Nice, Fixed my problem too.
So why eclipse development and packaging team has not thought of this?
Got no idea. A lot of people seem to have this problem.
Man… this saved my day, thanks a lot!
I’d installed Java updates and all sorts trying to figure this one out and then discovered this post… cheers! ;)
//WildStyle
This little issue was driving me crazy. Thanks!, this did help me a lot.
Yipee :) its working now
It’s work !!!
Thank you very much!
I was seeing errors cropping up after installing modeling tools, generally when trying to add new components to the environment. Wasn’t so much of an issue with Helios, but is noticeably worse in Indigo. Thanks for the info!
***
– Optimisation de la mémoire de la JVM pour Eclipse
***
Par défaut, Eclipse est tout à fait adapter pour des projets « standard » de taille moyenne et qui ne demandent pas beaucoup de dépendances complexes.
Par contre dès qu’il s’agit de développer dans un environnement plus complexe avec plusieurs Frameworks et plugins, cela peut facilement tourner au drame et avoir quelques erreurs dues à l’insuffisance de mémoire notamment dans la zone mémoire « permGen space », comme « Eclipse need more memory… Do you want to exit the workbench now ? » ou « OutOfMemoryException« . Ce genre d’erreur est assez répétitif et nous fait perdre beaucoup de temps.
Alors pour remédier à tout cela, la solution est de passer des paramètres au lancement de Eclipse. Ces paramètres dépendent de la configuration de notre machine.
===>plus détails : http://learninformatique.blogspot.com
Thank you, good tip, worked well.
Thanks! Get finaly rid of my eclipse problems.
Thanks a lot, I look at this post every time I install eclipse.
I was wondering if you could update the post to say what each of those values (e.g. Xms) mean, so I could adjust accordingly.
For the first time today the minimum values you gave haven’t been enough, and don’t know which to change!
Thanks again
Just double the numbers until it works. ;-)
Awesome. Thanks a bunch!
Thanks…………….
Solve My Problem but Still Showing X mark on Project
Thanks mate! It saved my day with Eclipse Classic (Jungo).
Thanks a lot! It’s ok with Eclipse Indigo
Thank You brother!
Thank’s alot..^^
really save my day~
Eclipse Kepler 2 with Spring Tool Suite (STS ) plugin was performing horribly.
This fixed it:
-Xms512m
-Xmx1024m
-XX:PermSize=128m
-XX:MaxPermSize=256m
Thanks!
(Yes I need to up the permsize after what I tried your configs but still didn’t help, and followed the suggestion from here: http://www.coreservlets.com/Apache-Tomcat-Tutorial/eclipse-jdk1.6.0_21-permgen-bug.html)
Thanks a lot ,its working