Well, I can confirm that after installing the SR1 Optimizations early patch 
I can see a noticeable improvement with regards to switching between tabs 
and opening xml documents, at least on this Windows 7 machine I'm currently 
using. Thanks for the links!

As for the leakiness/stressfulness towards the GC of the ADT plugin, I 
agree, a large part of the issue surely resides inside it and is only 
masked by this optimization patches (but at least the toolbar button 
flicker is gone as far as I can see so it could really be that a large part 
of the problem was caused by inefficient calling of plugin listeners by the 
IDE, which were unnecessarily being called multiple times from different 
code-paths and causing the stress). I tried tracing it myself once, but 
don't remember anymore where exactly I got stuck with it...

Anyway, it seems like it's working better (acceptable) now, so thanks 
again! It was slowest on the macbook, so I'll post my feedback once I 
get around to trying it on there...

On Tuesday, January 29, 2013 1:35:34 AM UTC+1, Nobu Games wrote:
>
> Just as additional information. I also do have problems with the older 
> Eclipse 3.7.2 in combination with ADT.
> ADT leaks memory pretty badly on my development machine and brings it to a 
> complete halt after a few hours of development and debugging. This affects 
> just about anything. Slow XML editors, slow overall performance of my PC. I 
> filed a bug report a while ago and I was told to profile the Eclipse 
> process with some tool that does not work on my machine. So basically I 
> have no clue how to help them spot that problem and while that bug is still 
> there I have to restart Eclipse multiple times a day by killing its process 
> and launching it with the "-clean" parameter. It's awesome.
>
> Anyway, ADT is much much worse on Eclipse Juno. There it's just a matter 
> of a few minutes until I have to restart Eclipse. That's why I switched 
> back.
>
>
> On Monday, January 28, 2013 6:24:03 PM UTC-6, Nobu Games wrote:
>>
>> This is a known bug<https://bugs.eclipse.org/bugs/show_bug.cgi?id=385272>in 
>> Eclipse Juno. ADT is probably to blame, too. You should downgrade to the 
>> previous version of Eclipse.
>>
>> http://wiki.eclipse.org/Platform_UI/Juno_Performance_Investigation
>>
>> On Monday, January 28, 2013 5:37:54 PM UTC-6, Marko wrote:
>>>
>>> Hi! I've been trying to get info on this for some time now and decided 
>>> to finally ask here:
>>>
>>> Me and my colleagues have been experiencing (sometimes 
>>> very extreme) slowdowns in Eclipse tab switching/opening documents when 
>>> having the ADT plugin installed and opening a couple of xml layout files 
>>> and xml files in general. This happens on the latest release of Juno with 
>>> the latest release of the ADT plugin. I've personally experienced it on two 
>>> Windows 7 PC-s (one x64 with x64 compliled Eclipse, one x86), my x64 
>>> Macbook with x86 Eclipse and on my Debian x86 laptop. One desktop and the 
>>> macbook have 8gb of ram, the other desktop has 4gb and the linux laptop 
>>> 2gb. All eclipses have java runtime set to 1.6 or 1.7, all have increased 
>>> heap size to 1 or 2gb and increased permgen size. Some have parallelgc 
>>> enabled.
>>>
>>> As you can see, since the problem occurs on all of these setups, this 
>>> eclipse "tweaks" have no effect on this problem (or very mild effect) which 
>>> causes me to believe that it most probably has to do with extensions 
>>> relating to xml editing that ADT brings with itself.
>>>
>>> If any help: I can see that when switching between two xml layout files 
>>> toolbar buttons "Reload Dependencies"/"Turn Grammar Constraints Off" and 
>>> "Drop To Frame" flicker in the 2 second pause between switches (this pause 
>>> is much longer if there are more than two tabs open). Seems like 
>>> some state-checks are done many times over and over in a loop and cause 
>>> these buttons to switch between states. This is also obviously putting a 
>>> lot of stress on the gc structures and sometimes the only solution is to 
>>> restart eclipse completely to let it all clear out. Extreemly annoying as 
>>> you can imagine.
>>>
>>> Anyone here with similar experiences or any remedies? Thanks
>>>
>>

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to