我创建了一个SlidingTablayout,我在活动之间切换时不断收到这些消息,另外,在活动之间切换时有点不稳定
01-31 17:45:50.123 4741-4741/com.athena.athena D/dalvikvm: GC_FOR_ALLOC freed 1839K, 21% free 26095K/32716K, paused 22ms, total 23ms
01-31 17:45:50.123 4741-4741/com.athena.athena I/dalvikvm-heap: Grow heap (frag case) to 31.361MB for 1872016-byte allocation
01-31 17:45:50.163 4741-4741/com.athena.athena D/dalvikvm: GC_FOR_ALLOC freed 2622K, 27% free 25303K/34548K, paused 21ms, total 21ms
01-31 17:45:50.243 4741-4741/com.athena.athena D/dalvikvm: GC_FOR_ALLOC freed 1829K, 17% free 26669K/31948K, paused 39ms, total 40ms
答案 0 :(得分:0)
这些消息适用于根据内存要求增长的堆,如果堆大小增加到应用堆限制附近,应用程序将会出现波动