fire-app-builder
fire-app-builder copied to clipboard
App crashes with OutOfMemoryError
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"
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?
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.
Thanks for the feedback. We will need to look into this in a future release.