On Apr 15, 1:22 am, "[email protected]"
<[email protected]> wrote:
> Is there a way for me to either force the garbage collection to
> complete before the transition or delay until after the transition is
> finished? I have tried System.gc() in various places but it doesn't
> seem to help performance.

If your transition does a large number of allocations, no amount of
calling System.gc() will help.

You can use the Allocation Tracker in the stand-alone DDMS tool to see
the most recent 512 allocations, with stack traces.  If you start it
right before the transition and grab it after (perhaps with some log/
sleep calls in your code to make it easy to catch it right on the
edge) you can get a better sense for what's going on.

--~--~---------~--~----~------------~-------~--~----~
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