I am getting this error in a compiled APK, I managed to grab it in the Debug window while executing the APP.
java.lang.OutOfMemoryError:
Failed to allocate a 537919496 byte allocation with 25165824 free bytes and 250MB until OOM, target footprint 299690424, growth limit 536870912