On Sun, Dec 21, 2008 at 11:34 PM, Imran <imran...@gmail.com> wrote:
>    hey  can  i use System.gc()  in my activity to request for garbage
> collection.
>     will it work () ..   will the garbage collector be called ?

Yes it will. However, let me warn you that in my experience adding
explicit calls to System.gc() almost always results in applications
that perform worse than ones that just let the underlying VM gc as it
sees fit.

-dan

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

Reply via email to