Skip to content

Out of Memory on Android #20

@thomaswp

Description

@thomaswp

It'll be a tough, device specific fix, but an OutOfMemoryException has been flagged once on Android. It's only been reported once as of 3/22, so it may be rare or device-specific. Nor not...

java.lang.OutOfMemoryError
at android.graphics.Bitmap.nativeCreate(Native Method)
at android.graphics.Bitmap.createBitmap(Bitmap.java:715)
at android.graphics.Bitmap.createBitmap(Bitmap.java:692)
at android.graphics.Bitmap.createBitmap(Bitmap.java:659)
at playn.android.AndroidCanvasImage.<init>(AndroidCanvasImage.java:30)
at playn.android.AndroidGraphics.createImage(AndroidGraphics.java:139)
at tuxkids.tuxblocks.core.utils.CanvasUtils.createRect(CanvasUtils.java:65)
at tuxkids.tuxblocks.core.widget.GameBackgroundSprite$BackgroundSprite.<init>(GameBackgroundSprite.java:163)
at tuxkids.tuxblocks.core.widget.GameBackgroundSprite.createBackgroundSprite(GameBackgroundSprite.java:88)
at tuxkids.tuxblocks.core.widget.GameBackgroundSprite.update(GameBackgroundSprite.java:114)
at tuxkids.tuxblocks.core.TuxBlocksGame.update(TuxBlocksGame.java:141)
at playn.core.Game$Default.tick(Game.java:95)
at playn.android.AndroidPlatform.update(AndroidPlatform.java:220)
at playn.android.GameViewGL$1.onDrawFrame(GameViewGL.java:60)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1516)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1240)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions