Reputation: 1531
is any one know what is the meaning this LOG test it display every time when i do any operation in my APP TEXT
09-06 17:41:30.194: D/dalvikvm(4900): GC_CONCURRENT freed 440K, 49% free 3317K/6471K, external 0K/512K, paused 4ms+7ms
dos it related to memory allocation ?
Upvotes: 0
Views: 217
Reputation: 54332
GC_CONCURRENT
Means that Garbage Collection happens in a parallel manner. Without affecting any performance.
freed 440K
This particular cycle of GC has freed 440k memory.
free 3317K/6471K
Available and total Heap Memory Details.
external 0K/512K
External Memory available for your app(other than heap).
4ms+7ms
4ms at the beginning of GC was paused and at the end 7ms was consumed by GC.
That is, during this GC, all your activities were suspended for a total of 11ms , 4ms at the beginning and 7ms at the end.
For more info on this, please watch this video. He explains this very clearly.
Patrick Dubroy Memory Management
Upvotes: 2
Reputation: 12367
Indeed. It shows that garbage colector was fired ( which happens on regular basis) and it could reclaim 440K of memory. Whether it is a lot or not depends on your application, but less is better. Rule of thumb is to avoid memory allocation whenever possible.
Upvotes: 1