Skip to content

OutOfMemory Error #32

@pattch

Description

@pattch

Can crash in ImageProcessor with an OuitOfMemory Error

Fatal Exception: java.lang.OutOfMemoryError

android.graphics.Bitmap.copy (Bitmap.java:680)

com.pictopoly.polydemo.process.ImageProcessor.renderTriangles (ImageProcessor.java:85)

com.pictopoly.polydemo.process.ImageProcessor.processImage (ImageProcessor.java:60)

com.pictopoly.polydemo.process.ImageProcessor.doRun (ImageProcessor.java:53)

com.pictopoly.polydemo.process.NotifyingRunnable.run (NotifyingRunnable.java:26)

So maybe refactor this so it doesn't have to make a full copy of the whole Bitmap

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions