You missed my point, so let me try to make it more clearly.

I wasn't absolving the IDE of blame. I'm saying it interacts with the
other offenders, if you have them.

So if you have a bloated Firefox, for example, the IDE will start to
flail much earlier. In that case, you can buy some time (but not
eliminate the problem) by killing Firefox.

My point about memory is that you will survive MUCH longer on a less
limited machine, and upgrading your hardware is another workaround.
One that I haven't found financially viable at the moment, but, if you
can, definitely try it.

And as objectuser points out, not all aspects of the IDE are to blame.

Running an emulator worsens things, since that needs memory.
Basically, everything you do that needs significant memory, will cause
you to start to flail earlier.

It's definitely not just Eclipse and Android, however. At 4 GB I can
end up in this state with various applications, without anything
Eclispe- or Android-related running.

I find I have to restart GMail (in Chrome, no less) about as often as
often as I have to restart Eclipse. Hmm, what do these two have in
common?

But that will depend on your usage patterns, too.

I will say, it is not just Android programming, and not just resource
files that will do Eclipse in. But I do think they worsen it -- either
making heavy use of a leaking facility, or adding their own new leaks
to the puddle.

So my advice is, restart Eclipse often, but also look at the other
factors. If you're lucky that will help reduce, but eliminate, the
need to restart.

On Aug 3, 7:17 pm, Doug <[email protected]> wrote:
> The issue isn't what else is running on the computer.  The issue is
> that Eclipse gets into an unrecoverable state where it lags horribly
> when switching between editors, at least on OSX.  I can typically go 5
> or 6 hours of steady use (more with intermittent use) until that state
> kicks in for me (MacBook Pro, 4GB, 2.4GHz Core 2 Duo).  Quitting other
> apps at that point doesn't make any difference.  The resource leak
> explanation is the only one that makes sense given my observations,
> which are daily since I do this to pay my mortgage.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to