GDG-Korea / GoogleDevelopersLive

This application is able to watch Google Developers Live page's youtube video and scheduled programs.
https://play.google.com/store/apps/details?id=com.proinlab.gdlapp
45 stars 28 forks source link

out of memory #24

Closed dalinaum closed 11 years ago

dalinaum commented 11 years ago
01-21 00:03:57.628: I/dalvikvm-heap(32052): Forcing collection of SoftReferences for 230416-byte allocation
01-21 00:03:57.678: I/dalvikvm-heap(32052): Clamp target GC heap from 68.881MB to 64.000MB
01-21 00:03:57.678: D/dalvikvm(32052): GC_BEFORE_OOM freed 17K, 6% free 62195K/65532K, paused 48ms, total 48ms
01-21 00:03:57.678: E/dalvikvm-heap(32052): Out of memory on a 230416-byte allocation.
01-21 00:03:57.678: I/dalvikvm(32052): "Thread-5425" prio=5 tid=22 RUNNABLE
01-21 00:03:57.678: I/dalvikvm(32052):   | group="main" sCount=0 dsCount=0 obj=0x424efc30 self=0x6399b818
01-21 00:03:57.678: I/dalvikvm(32052):   | sysTid=2130 nice=0 sched=0/0 cgrp=apps handle=1671019624
01-21 00:03:57.678: I/dalvikvm(32052):   | state=R schedstat=( 57980000 6577000 43 ) utm=4 stm=1 core=2
01-21 00:03:57.688: I/dalvikvm(32052):   at android.graphics.BitmapFactory.nativeDecodeStream(Native Method)
01-21 00:03:57.688: I/dalvikvm(32052):   at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:529)
01-21 00:03:57.688: I/dalvikvm(32052):   at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:601)
01-21 00:03:57.758: I/dalvikvm(32052):   at com.proinlab.gdlapp.ListViewCustomAdapter$4.run(ListViewCustomAdapter.java:165)
01-21 00:03:57.758: D/dalvikvm(32052): WAIT_FOR_CONCURRENT_GC blocked 161ms
01-21 00:03:57.758: I/dalvikvm-heap(32052): Forcing collection of SoftReferences for 230416-byte allocation
01-21 00:03:57.808: I/dalvikvm-heap(32052): Clamp target GC heap from 68.860MB to 64.000MB
01-21 00:03:57.808: D/dalvikvm(32052): GC_BEFORE_OOM freed 21K, 6% free 62173K/65532K, paused 50ms, total 50ms
01-21 00:03:57.808: E/dalvikvm-heap(32052): Out of memory on a 230416-byte allocation.
01-21 00:03:57.808: I/dalvikvm(32052): "Thread-5436" prio=5 tid=20 RUNNABLE
01-21 00:03:57.808: I/dalvikvm(32052):   | group="main" sCount=0 dsCount=0 obj=0x41774888 self=0x63c2be78
01-21 00:03:57.808: I/dalvikvm(32052):   | sysTid=2148 nice=0 sched=0/0 cgrp=apps handle=1672691880
01-21 00:03:57.808: I/dalvikvm(32052):   | state=R schedstat=( 60607000 8121000 54 ) utm=5 stm=1 core=2
01-21 00:03:57.808: I/dalvikvm(32052):   at android.graphics.BitmapFactory.nativeDecodeStream(Native Method)
01-21 00:03:57.808: I/dalvikvm(32052):   at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:529)
01-21 00:03:57.808: I/dalvikvm(32052):   at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:601)
01-21 00:03:57.808: I/dalvikvm(32052):   at com.proinlab.gdlapp.ListViewCustomAdapter$4.run(ListViewCustomAdapter.java:165)
proin commented 11 years ago

I think It's because of Image Loading at ListView. Is it solved if I use ImageLoader? https://github.com/wuman/AndroidImageLoader