Eclipse interruptions under Mac OS 10.7 Lion
I upgraded to Mac OS 10.7 Lion a while ago, and although Eclipse (Eclipse Java EE IDE for Web Developers, Version: Helios Service Release 2) works fine two things go very slow:
- Creating a new project used to take a few seconds, now it takes about 1.5 minutes.
- Every now and then when saving my classes everything stops, and the spinning wait cursor appears for about 1 minute. The Activity monitor labels Eclipse as "not responding" during that time.
I have the latest Eclipse update. Does anybody know what could cause this behavior?
Try cleaning Eclipse, run this from the command line, in the directory where Eclipse is installed:
./eclipse -clean -vmargs -XstartOnFirstThread
Try adding more heap space. In your eclipse.ini file in the installation increase the max heap (-Xmx). It's likely you are near the limit of the memory, so it's excessively garbage collecting.