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.OutOfMemoryErro #29

Open
mujahid-sagoon opened this issue Feb 14, 2018 · 1 comment
Open

Fatal Exception: java.lang.OutOfMemoryErro #29

mujahid-sagoon opened this issue Feb 14, 2018 · 1 comment

Comments

@mujahid-sagoon
Copy link

mujahid-sagoon commented Feb 14, 2018

Getting this crash from crashlytics dashboard.
Fatal Exception: java.lang.OutOfMemoryError: Failed to allocate a 59064332 byte allocation with 4193552 free bytes and 48MB until OOM
at dalvik.system.VMRuntime.newNonMovableArray(VMRuntime.java)
at android.graphics.Bitmap.nativeCreate(Bitmap.java)
at android.graphics.Bitmap.createBitmap(Bitmap.java:831)
at android.graphics.Bitmap.createBitmap(Bitmap.java:808)
at android.graphics.Bitmap.createBitmap(Bitmap.java:728)
at android.graphics.Bitmap.createBitmap(Bitmap.java:653)
at com.naver.android.helloyako.imagecrop.model.CropInfo.getCroppedImage(CropInfo.java:69)
at com.naver.android.helloyako.imagecrop.model.CropInfo.getCroppedImage(CropInfo.java:43)
at com.naver.android.helloyako.imagecrop.model.CropInfo.getCroppedImage(CropInfo.java:34)
at com.naver.android.helloyako.imagecrop.view.ImageCropView.getCroppedImage(ImageCropView.java:927)
at com.sagoon.connect.share.earn.dashboard.newDashboard.DashboardImageResizerActivity.onClick(DashboardImageResizerActivity.java:57)
at android.view.View.performClick(View.java:5272)
at android.view.View$PerformClick.run(View.java:21528)
at android.os.Handler.handleCallback(Handler.java:815)
at android.os.Handler.dispatchMessage(Handler.java:104)
at android.os.Looper.loop(Looper.java:207)
at android.app.ActivityThread.main(ActivityThread.java:5790)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1015)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:876)

@helloyako
Copy link
Contributor

Hello :)

Did you add android:largeHeap="true" in an AndroidManifest.xml ?

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

2 participants