I got this error

Error from Companion: java.lang.OutOfMemoryError: Failed to allocate a 32 byte allocation with 299632 free bytes and 292KB until OOM, target footprint 268435456, growth limit 268435456; giving up on allocation because <1% of heap free after GC.


how to handle this error?

This error cannot be handled. The cause of the error must be found and eliminated.

any idea what causes this error?

Without testing your project, no. Are you using any large images?

1 Like

Check your procedure calls, to avoid infinite depth.

Likewise your screen loads.

Images can be humongous.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.