loopj / android-smart-image-view

Android ImageView replacement which allows image loading from URLs or contact address book, with caching
http://loopj.com/android-smart-image-view/
1.3k stars 510 forks source link

I build a HTTP server in local,then use SmartImageView.setImageUrl(String url) #41

Open feer921 opened 10 years ago

feer921 commented 10 years ago

05-09 11:11:50.013: E/AndroidRuntime(8461): FATAL EXCEPTION: pool-2-thread-1 05-09 11:11:50.013: E/AndroidRuntime(8461): java.lang.OutOfMemoryError 05-09 11:11:50.013: E/AndroidRuntime(8461): at android.graphics.BitmapFactory.nativeDecodeStream(Native Method) 05-09 11:11:50.013: E/AndroidRuntime(8461): at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:546) 05-09 11:11:50.013: E/AndroidRuntime(8461): at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:618) 05-09 11:11:50.013: E/AndroidRuntime(8461): at com.loopj.android.image.WebImage.getBitmapFromUrl(Unknown Source) 05-09 11:11:50.013: E/AndroidRuntime(8461): at com.loopj.android.image.WebImage.getBitmap(Unknown Source) 05-09 11:11:50.013: E/AndroidRuntime(8461): at com.loopj.android.image.SmartImageTask.run(Unknown Source) 05-09 11:11:50.013: E/AndroidRuntime(8461): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076) 05-09 11:11:50.013: E/AndroidRuntime(8461): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569) 05-09 11:11:50.013: E/AndroidRuntime(8461): at java.lang.Thread.run(Thread.java:838)