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

OutOfMemoryError for MediaPickerController #8

Closed
Tetraquark opened this issue Mar 31, 2020 · 1 comment · Fixed by #9
Closed

OutOfMemoryError for MediaPickerController #8

Tetraquark opened this issue Mar 31, 2020 · 1 comment · Fixed by #9
Assignees
Labels
bug Something isn't working
Milestone

Comments

@Tetraquark
Copy link
Collaborator

Got OutOfMemoryError for MediaPickerController:

java.lang.OutOfMemoryError: Failed to allocate a 159694860 byte allocation with 4193664 free bytes and 111MB until OOM
        at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
        at android.graphics.BitmapFactory.nativeDecodeStream(Native Method)
        at android.graphics.BitmapFactory.decodeStreamInternal(BitmapFactory.java:677)
        at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:653)
        at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:691)
        at dev.icerock.moko.media.picker.MediaPickerController$PickerFragment.processGalleryResult(MediaPickerController.kt:226)
        at dev.icerock.moko.media.picker.MediaPickerController$PickerFragment.onActivityResult(MediaPickerController.kt:202)
Tetraquark added a commit to Tetraquark/moko-media that referenced this issue Apr 1, 2020
Tetraquark added a commit to Tetraquark/moko-media that referenced this issue Apr 2, 2020
Tetraquark added a commit to Tetraquark/moko-media that referenced this issue Apr 2, 2020
Alex009 added a commit that referenced this issue Apr 2, 2020
@Alex009 Alex009 linked a pull request Apr 2, 2020 that will close this issue
@Alex009 Alex009 added this to the 0.4.2 milestone Apr 2, 2020
@Alex009 Alex009 added the bug Something isn't working label Apr 2, 2020
@Alex009
Copy link
Member

Alex009 commented Apr 2, 2020

merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants