[android-developers] Re: remote service process persists (i.e. won't disappear from process table)

2009-02-24 Thread Alex B

Google employees... any ideas about this? Thanks.

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



[android-developers] Re: remote service process persists (i.e. won't disappear from process table)

2009-02-24 Thread steve68

You are dealing with Java GC. There is no guaranty that GC will run
immediately and you don't really know or care when GC will run and
clean your service.

On Feb 24, 11:53 am, Alex B alexba...@gmail.com wrote:
 Google employees... any ideas about this? Thanks.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[android-developers] Re: remote service process persists (i.e. won't disappear from process table)

2009-02-24 Thread Jon Colverson

On Feb 22, 12:13 am, Alex B alexba...@gmail.com wrote:
 At this point I expect the process to disappear from the process
 table. Yet it remains indefinitely. But why?

 Also, the process is so persistent that I can bind to it again, and I
 see that it is the same exact process responding because the PID
 (process ID) is the same!

This is by design. Inactive processes are kept around as a caching
mechanism. They're killed off as needed to reclaim memory:
http://developer.android.com/guide/topics/fundamentals.html#proclife

--
Jon

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