yes, extactly. I also suspect it might be caused by dead thread. My
sub activity also started a thread which will take a lot of memory
when it is alive.

On Apr 16, 3:04 pm, mickrobk <[EMAIL PROTECTED]> wrote:
> I noticed a similar thing. (mb the same depending on your code)
> You can see the issue I filed 
> herehttp://code.google.com/p/android/issues/detail?id=548&q=thread&colspe...
>
> On Apr 15, 11:55 pm, "Larry @ z" <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi, Anyone encounter such problem? Use eclipse to profile your
> > application, and monitor your memory heap size usage.
>
> > Your application works like this, Activity A start subactivity B, B
> > call setResult(), finish() and return to A, then do previous action
> > again and again.
>
> > I call System.gc() just before B call fnish(), the eclipse heap
> > monitor will refresh its value.
>
> > The result is, even the subactivity B was killed totally (from logcat
> > log), the memory usage always keep increasing. GC seems not work.
>
> > Okay... I suppose it will not do real gc before the memory usage
> > haven't reach a certain value, but the final result of this kind of
> > actions (close and start subactivity) is the memory leak.- Hide quoted text 
> > -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to