AlstonLin/TheLearningLock

Potential memory issue

Closed this issue · 2 comments

I got this crash:

java.lang.OutOfMemoryError: Failed to allocate a 14909452 byte allocation with 7555208 free bytes and 7MB until OOM
       at dalvik.system.VMRuntime.newNonMovableArray(VMRuntime.java)

We should try to address RAM usage and remove the largeHeap workaround.
This should start with profiling the app and reducing RAM usage where possible

Looks like a memory leak after looking at profiling results

RIP. Appearently this is a bug in Android: https://code.google.com/p/android/issues/detail?id=187847