Hello,

Is there a way to trigger the garbage collector to kill killable apps
(apps which have executed onPause, onStop, onDestroy) to check onPause/
onResume/onStart/onStop, etc. have to be correctly implemented?

For me I have a lot of memory left on my device so if I execute
another application onPause and onStop will be executed but the memory
for the old application will still be left in memory. I want the
application to be killed so I can see if my onPause/onResume, etc. are
correctly implemented.

I tried to do an application that would allocate a lot of memory but
since there is a limit of 16 mb per application it didn't work.

I also wonder where, in the android source code, the garbage collector
does these operations?

Kind regards,
Samuel

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