our app downloads several files locally to make them available offline.
It often happens that the app closes with this error in the console.
java.lang.OutOfMemoryError: Failed to allocate a 268435472 byte allocation with 25165824 free bytes and 96MB until OOM, max allowed footprint 460932552, growth limit 536870912
We have already tried to modify the manifest but we have not achieved great results.
Is there a way to configure infinite memory usage?
Do you have a solution to this problem?