Re: [android-developers] How to figure out who is causing GC on my device?

2010-10-28 Thread Kostya Vasilyev
Run "adb shell" and then "ps" to get the list of running processes. Then you just need to match by process id's - 1344 and 1103. However - each process has its own copy of Dalvik Java VM, and its own memory address space, so GC in other applications should not be affecting yours. -- Kostya

[android-developers] How to figure out who is causing GC on my device?

2010-10-28 Thread dipu
I am getting GC on my device (moto original Droid with 2.2) continuously, even when I am not using it for a while. How can I figure out which application is causing such continuous GC. D/dalvikvm( 1344): GC_FOR_MALLOC freed 9881 objects / 527000 bytes in 57ms D/dalvikvm( 1103): GC_EXPLICIT freed 3