Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal Exception: java.lang.OutOfMemoryError #100

Open
ciromine opened this issue Jun 13, 2016 · 0 comments
Open

Fatal Exception: java.lang.OutOfMemoryError #100

ciromine opened this issue Jun 13, 2016 · 0 comments

Comments

@ciromine
Copy link

Hi harism, and thanks for work on this great library. I have the following problem, in some devices:

Fatal Exception: java.lang.OutOfMemoryError
       at android.graphics.Bitmap.nativeCreate(Bitmap.java)
       at android.graphics.Bitmap.createBitmap(Bitmap.java:922)
       at android.graphics.Bitmap.createBitmap(Bitmap.java:895)
       at android.graphics.Bitmap.createBitmap(Bitmap.java:827)
       at fi.harism.curl.CurlPage.getTexture(CurlPage.java:120)
       at fi.harism.curl.CurlPage.getTexture(CurlPage.java:143)
       at fi.harism.curl.CurlMesh.onDrawFrame(CurlMesh.java:625)
       at fi.harism.curl.CurlRenderer.onDrawFrame(CurlRenderer.java:110)
       at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1531)
       at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1248)

Do you have any update or some correction to fix that. I know when you manipulate bitmaps in android is very posible to get an out of memory, but do you have any idea to how avoid this? Regards!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant