Skip to content

fresco oom exception #10

@openproject

Description

@openproject

fresco的版本号为:0.4.0
04-26 10:26:40.810 E/AndroidRuntime( 4550): Process: com.jayfeng.androiddigest, PID: 4550
04-26 10:26:40.810 E/AndroidRuntime( 4550): java.lang.OutOfMemoryError: Failed to allocate a 8294412 byte allocation with 4956592 free bytes and 4MB until OOM
04-26 10:26:40.810 E/AndroidRuntime( 4550): at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
04-26 10:26:40.810 E/AndroidRuntime( 4550): at android.graphics.Bitmap.nativeCreate(Native Method)
04-26 10:26:40.810 E/AndroidRuntime( 4550): at android.graphics.Bitmap.createBitmap(Bitmap.java:812)
04-26 10:26:40.810 E/AndroidRuntime( 4550): at android.graphics.Bitmap.createBitmap(Bitmap.java:789)
04-26 10:26:40.810 E/AndroidRuntime( 4550): at android.graphics.Bitmap.createBitmap(Bitmap.java:756)
04-26 10:26:40.810 E/AndroidRuntime( 4550): at com.facebook.imagepipeline.memory.BitmapPool.alloc(BitmapPool.java:55)
04-26 10:26:40.810 E/AndroidRuntime( 4550): at com.facebook.imagepipeline.memory.BitmapPool.alloc(BitmapPool.java:30)
04-26 10:26:40.810 E/AndroidRuntime( 4550): at com.facebook.imagepipeline.memory.BasePool.get(BasePool.java:264)
04-26 10:26:40.810 E/AndroidRuntime( 4550): at com.facebook.imagepipeline.bitmaps.ArtBitmapFactory.doDecodeStaticImage(ArtBitmapFactory.java:131)
04-26 10:26:40.810 E/AndroidRuntime( 4550): at com.facebook.imagepipeline.bitmaps.ArtBitmapFactory.decodeFromPooledByteBuffer(ArtBitmapFactory.java:84)
04-26 10:26:40.810 E/AndroidRuntime( 4550): at com.facebook.imagepipeline.bitmaps.PlatformBitmapFactory.decodeFromPooledByteBuffer(PlatformBitmapFactory.java:87)
04-26 10:26:40.810 E/AndroidRuntime( 4550): at com.facebook.imagepipeline.decoder.ImageDecoder.decodeStaticImage(ImageDecoder.java:114)
04-26 10:26:40.810 E/AndroidRuntime( 4550): at com.facebook.imagepipeline.decoder.ImageDecoder.decodeImage(ImageDecoder.java:92)
04-26 10:26:40.810 E/AndroidRuntime( 4550): at com.facebook.imagepipeline.producers.DecodeProducer$ProgressiveDecoder.doDecode(DecodeProducer.java:231)
04-26 10:26:40.810 E/AndroidRuntime( 4550): at com.facebook.imagepipeline.producers.DecodeProducer$ProgressiveDecoder.access$200(DecodeProducer.java:92)
04-26 10:26:40.810 E/AndroidRuntime( 4550): at com.facebook.imagepipeline.producers.DecodeProducer$ProgressiveDecoder$3.run(DecodeProducer.java:202)
04-26 10:26:40.810 E/AndroidRuntime( 4550): at com.facebook.common.executors.SerialDelegatingExecutor.executeSingleCommand(SerialDelegatingExecutor.java:76)
04-26 10:26:40.810 E/AndroidRuntime( 4550): at com.facebook.common.executors.SerialDelegatingExecutor.access$000(SerialDelegatingExecutor.java:24)
04-26 10:26:40.810 E/AndroidRuntime( 4550): at com.facebook.common.executors.SerialDelegatingExecutor$1.run(SerialDelegatingExecutor.java:47)
04-26 10:26:40.810 E/AndroidRuntime( 4550): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
04-26 10:26:40.810 E/AndroidRuntime( 4550): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
04-26 10:26:40.810 E/AndroidRuntime( 4550): at java.lang.Thread.run(Thread.java:818)
04-26 10:26:40.816 W/ActivityManager( 1801): Force finishing activity 1 com.jayfeng.androiddigest/.activity.ToolListActivity
04-26 10:26:40.831 D/Atlas ( 1801): Validating map...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions