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. detect usb connected/disconnected event

Hi all!

 I had read in a lot of forum it is a problem to developers to write a
program witch can detect the connected / disconnected USB event. Here is my
solution:

Manifest.xml :

        <receiver android:name=".MyReceiver">
            <intent-filter>
                <action android:name="android.intent.action.ums_connected"
/>
            </intent-filter>
        </receiver>

Myreceiver:

public class MyReceiver extends BroadcastReceiver{
if (intent.getAction().equalsIgnoreCase(
        "android.intent.action.UMS_CONNECTED")) {...}
}


bye:Kroly Holczhauser from Hungary

-- 

2. How to investigate the memory leak in jni method?

Hi,

I found the investigation of jni memory leak is too hard to execute.

Anybody can give some clues for such problem??

Thanks.

-- 

3. Tanya A50/A10

4. how create a video with byte array

5. App is published in Android Market but not visible in some phones

6. best way to save images files

7. Two functions Button?