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

App crashes with OutOfMemoryError #6

Open
EugeneSmoliy opened this issue Dec 23, 2016 · 3 comments
Open

App crashes with OutOfMemoryError #6

EugeneSmoliy opened this issue Dec 23, 2016 · 3 comments

Comments

@EugeneSmoliy
Copy link

When loading large json feed (65 mb) app crashes in NetworkUtils.java (line 68) with following error : Throwing OutOfMemoryError "Failed to allocate a 171966472 byte allocation with 4186328 free bytes and 103MB until OOM"

@brcox
Copy link

brcox commented Jan 24, 2017

We don’t have a set max size since it can very per device, depending on what’s already installed, etc. What device is this crash happening on? How many items in the feed? Is there any way you can make the feed smaller by only including the necessary items for fire-app-builder?

@EugeneSmoliy
Copy link
Author

Crash happened on all devices we tried this on. The problem seems to be that all feed is put into one StringBuilder. Probably, method of getting data could be somehow improved to resolve this issue.

@brian-ross
Copy link

Thanks for the feedback. We will need to look into this in a future release.

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