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

GL error: Out of memory! #37

Open
orhanavan opened this issue Oct 30, 2023 · 3 comments
Open

GL error: Out of memory! #37

orhanavan opened this issue Oct 30, 2023 · 3 comments

Comments

@orhanavan
Copy link

I've encountered an "GL error: Out of memory!" error while using the application, specifically after taking a picture and while attempting to drag and drop pins. This issue has been observed on an Android 6.0 device running API 23. It seems to be related to a memory allocation problem. Any insights or assistance on resolving this issue would be greatly appreciated.

@dmarcs
Copy link
Contributor

dmarcs commented Dec 17, 2023

Try to set DocumentScannerExtra.EXTRA_CROPPED_IMAGE_QUALITY to a lower value in order to decrease the photo file size. Another option is for me to scale down the photo width and height.

@sanduluca
Copy link

How do you know it was "Out of memory" error ? I am trying to reproduce this error on a Meizu M2 Note (2GB Ram, android 7.1.2) but had no success.
I opened a PR that aim to catch this error and lower the image quality but cant test it. Check here: #47

@sanduluca
Copy link

@orhanavan How do you know it was OutOfMemoryError ? I was trying to simulate it to test the PR but couldn't do it. Any suggestion would be appreciated.

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

3 participants