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?

Thanks, Mike

Answers


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.


Need Your Help

Objective-C: Do You Have to Escape Single Quotes in Strings Destined fo SQL?

objective-c iphone sqlite3 quotes

I'm an iPhone developer. I'm writing my unit test cases, one of which checks if the app accepts UTF8 strings to be written to a sqlite3 database. I created a test case to generate random UTF8 strin...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.