logcat

[bash] GC_CONCURRENT freed <1K, 26% free 7093K/9479K, external 408K/517K, paused 3ms+9ms [/bash]

This is a message that appears when garbage collection runs. This message was appearing in large quantities in a short time.

It indicates the following:

Embarrassing ^_^;

By the way, Eclipse has a debugger called DDMS (Dalvik Debug Monitor Service) that can be used to know more details.

You can open it from [Eclipse]->[Window]->[Open Perspective]->[Other]->[DDMS].

heap

Mark the process you want to debug with a green bug icon and look at the “Heap tag” or “Allocation Tracker tag”.

In the “Heap tag”, you can see heap usage, and in the “Allocation Tracker tag”, you can find objects allocated in memory and the corresponding code locations. I’ve recently started using it, so I need to become proficient with it.

 

But actually, even now it sometimes freezes without showing any error messages… I’m tempted to suspect the hardware…

References:

How to solve GC_concurrent freed? [closed]

Discover Memory Leaks! Memory Analysis Methods for Android Apps