[File Plugin] Mobile: large files causing java.lang.OutOfMemoryError

Forge Component
(3)
Published on 2018-10-16 by Pedro Oliveira
3 votes
Published on 2018-10-16 by Pedro Oliveira

Hi,

I'm geting the following error in my aplication:

java.lang.OutOfMemoryError: Failed to allocate a 60608120 byte allocation with 24272960 free bytes and 23MB until OOM, max allowed footprint 268435456, growth limit 268435456

The problem is that error is crashing the app. There is a way to avoid the crash of the app?