Tool to check GC in android


I’m trying to port a Windows Phone game to Android and I’m getting loads of Garbage Collections (around 1 collection per second). However in WP and Windows, I’m getting 1 GC each 2 minutes. Obviously I can’t debug that in Windows / WP because the problem is not there.

Is there any easy way (or a free tool ) to detect the places where the memory is being allocated and released? Something like the classic memory profilers, but working with android of course…

EDIT: I found the problem (the in app manager got stuck in a loop and was continuously generating garbage)… anyways it’d be interesting if there’s a free tool to check this.