Thank you very much for the tip. I have restrasted my phone and made sure that my app is not running. Now I see two processes causing the GC.
system 1103 1013 221560 49288 ffffffff 00000000 S system_server app_38 1872 1013 146228 23724 ffffffff 00000000 R com.android.email D/dalvikvm( 1103): GC_EXPLICIT freed 3427 objects / 138696 bytes in 103ms D/dalvikvm( 1872): GC_FOR_MALLOC freed 9738 objects / 521552 bytes in 58ms D/dalvikvm( 1103): GC_EXPLICIT freed 3425 objects / 138488 bytes in 106ms D/dalvikvm( 1872): GC_FOR_MALLOC freed 9762 objects / 522360 bytes in 60ms D/dalvikvm( 1103): GC_EXPLICIT freed 3374 objects / 136712 bytes in 100ms D/dalvikvm( 1103): GC_EXPLICIT freed 3412 objects / 138048 bytes in 102ms D/dalvikvm( 1872): GC_FOR_MALLOC freed 9822 objects / 525296 bytes in 60ms D/dalvikvm( 1103): GC_EXPLICIT freed 3393 objects / 137328 bytes in 101ms D/dalvikvm( 1872): GC_FOR_MALLOC freed 9912 objects / 528128 bytes in 60ms D/dalvikvm( 1103): GC_EXPLICIT freed 3399 objects / 137480 bytes in 102ms D/dalvikvm( 1872): GC_FOR_MALLOC freed 9730 objects / 522016 bytes in 60ms D/dalvikvm( 1103): GC_EXPLICIT freed 3483 objects / 141184 bytes in 102ms D/dalvikvm( 1872): GC_FOR_MALLOC freed 9747 objects / 520984 bytes in 59ms On Oct 28, 4:24 pm, William Ferguson <[email protected]> wrote: > Other than the fact that it consumes CPU that could be used by your > app. > > On Oct 29, 6:27 am, Kostya Vasilyev <[email protected]> wrote: > > > > > > > > > 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 > > > 29.10.2010 0:06, 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 3407 objects / 138696 bytes in > > > 104ms > > > D/dalvikvm( 1344): GC_FOR_MALLOC freed 9838 objects / 525944 bytes in > > > 58ms > > > D/dalvikvm( 1103): GC_EXPLICIT freed 3400 objects / 137904 bytes in > > > 104ms > > > D/dalvikvm( 1344): GC_FOR_MALLOC freed 9723 objects / 521272 bytes in > > > 59ms > > > D/dalvikvm( 1103): GC_EXPLICIT freed 3381 objects / 137344 bytes in > > > 104ms > > > D/dalvikvm( 1344): GC_FOR_MALLOC freed 9750 objects / 521624 bytes in > > > 58ms > > > D/dalvikvm( 1103): GC_EXPLICIT freed 3342 objects / 135624 bytes in > > > 105ms > > > D/dalvikvm( 1344): GC_FOR_MALLOC freed 9861 objects / 527728 bytes in > > > 58ms > > > D/dalvikvm( 1103): GC_EXPLICIT freed 3402 objects / 138024 bytes in > > > 106ms > > > > Thanks, > > > Dipu > > > -- > > Kostya Vasilyev -- WiFi Manager + pretty widget > > --http://kmansoft.wordpress.com -- 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

