Slow Eclipse on OS X

by Bill Lumberg » Sun, 13 Jun 2010 05:22:21 GMT


Sponsored Links
 I am running Eclipse Galileo on an Intel Mac and after using it for a
bit, it becomes very slow.  By slow I mean switching between tabs and
scrolling through source becomes nearly unusable.  I have to close
Eclipse and re-open it, and that usually only solves the problem for a
short time.

Has anyone else ran into this and discovered a way to fix it?

Thank you.

--



Slow Eclipse on OS X

by Michael MacDonald » Sun, 13 Jun 2010 08:46:43 GMT


 

We've heard this before on the list.  The default settings for Eclipse
on OS/X do not allocate enough memory for it.  Eclipse runs within a
fixed amount of RAM, and if it isn't allocated enough it will spend all
its time garbage collecting.  Unfortunately, I don't know how to change
the settings on OS/X; on Linux there is a configuration file read by the
startup script.

--


Sponsored Links


Slow Eclipse on OS X

by Lee Fisher » Sun, 13 Jun 2010 09:21:32 GMT


 
We've heard this before on the list. The default settings for Eclipse on OS/X do not allocate enough memory for it. Eclipse runs within a fixed amount of RAM, and if it isn't allocated enough it will spend all its time garbage collecting. Unfortunately, I don't know how to change the settings on OS/X; on Linux there is a configuration file read by the startup script.
http://wiki.eclipse.org/Eclipse.ini #Mac_OS_X_Example http://help.eclipse.org/help33/topic/org.eclipse.platform.doc.user/tasks/running_eclipse.htm #macosx --



Slow Eclipse on OS X

by Al Sutton » Sun, 13 Jun 2010 15:54:42 GMT


 It's been a problem for a while, I opened a bug at
 http://code.google.com/p/android/issues/detail?id=6183 so you can put 
a star on it if you want to vote it up.

My experience is that it seems to be down to the layout previewer, the
more I use it the faster performance degrades.

Al.

P.S. Before anyone suggests tweaks to my eclipse.ini, I already have
ms & max perm size at 256m, mx at 1024m. My machine is a 4GB box with
a flash SSD, so the problem isn't physical memory space or disk i/o.




--



Slow Eclipse on OS X

by David Horn » Mon, 14 Jun 2010 00:13:11 GMT


 Al,

Exactly the same thing happens to me on OS X.  I've accepted that I
need to restart Eclipse every so often to solve the problem.  It's
particularly exacerbated if using the XML tools - for example, layout
or editing the manifest file the "friendly" way.

Dave.





--



Slow Eclipse on OS X

by Mariano Kamp » Mon, 14 Jun 2010 03:33:42 GMT


 Do you guys use the 64 bit download?






>



Slow Eclipse on OS X

by Al Sutton » Mon, 14 Jun 2010 14:07:51 GMT


 Of Eclipse?, yup, I'm using the 64 bit Coca build. I don't know if
there is a 64 bit ADT, I just use what I'm offered in the Eclipse
"Install Software" dialog.

As a side note; my Macbook Pro runs everything it can in 64 bit mode
(inc. the kernel), which isn't a common configuration and so might be
an influencing factor, but I wouldn't have thought it would have such
a noticeable effect, and it certainly doesn't have a similar effect on
anything else I use (J2EE, Amazon plugin, Subversion, ...)

Al.






> >



Slow Eclipse on OS X

by spachner » Mon, 14 Jun 2010 14:42:22 GMT


 Hi,

I encountered the same problems and finally solved them by installing
the Carbon version of Eclipse (eclipse-SDK-3.5.2-macosx-
carbon.tar.gz).

regards

spachner







> > >



Slow Eclipse on OS X

by Zsolt Vasvari » Mon, 14 Jun 2010 16:15:10 GMT


 Yes, this actually happens on my Vista 64-bit install as well.  After
a while, Eclipse just grinds to a halt, and I need to restart it.




--



Slow Eclipse on OS X

by Mariano Kamp » Mon, 14 Jun 2010 22:08:00 GMT


 Ok then. I downloaded the 32 bit version first and it got better after I
re-installed Eclipse, this time the 64 bit version. But maybe I am imagining
things.








> > >



Slow Eclipse on OS X

by Christopher Fei » Tue, 15 Jun 2010 15:49:01 GMT


 I've had the same problem I too have narrowed it down to the XML
tools.  My Eclipse experiences no more slow down if I open XML files
with Eclipse's built in XML editor.  You do lose the advantages of the
ADT XML editors, but still, I recommend using them on a case by case
basis and defaulting to the standard editor.

--



Other Threads

1. How to display missed called/ incoming message notification

Hi
I am new to Android application. I am able to display notification
message in the status bar. but this event is fire after I click some
button. Can any one tell me how to display the missed call/incoming
message arrival notification message?

--~--~---------~--~----~------------~-------~--~----~

2. Web Browser as Mobile Platform?

I know this question is not directly related to Android, applying to
mobile platforms in general, but I wanted an Android developer's
opinion.

So how important is web browsing on a cellphone? Is it important
enough to be on every phone? If so, then why not extend it to become
the platform itself?

My reasoning is thus:

XML APIs and Javascript (AKA Actionscript and ECMAscript) will already
need to be present, and extending Javascript with types, threads, and
APIs to access phone functions/sensors would not be too difficult.

It is also easier to extend existing web apps with additional features
than writing them over again. For example, Adding GPS to the existing
web based Google maps should take just a few lines of code if the APIs
are done right.

And JIT compiled Javascript can achieve the same performance numbers
as Java at this point, though any time you reduce the memory footprint
of a VM, you compromise performance. Besides, if you really need the
best performance and deterministic behavior possible, C will still be
there.

So, what says your gut?
--~--~---------~--~----~------------~-------~--~----~

3. iPhone-2 launch. 3G, GPS, $199. Is it over for Android, or is it irrelevant to Android?

4. TabHost deprecated?

5. Architectuone shareable Service used by many apps.

6. Installing the SDK - Vista

7. Android, GrandCentral, Google