On iOS I use the following to be able to monitor the heap on release builds, is there something similar I can use on Android?
[DllImport("__Internal")]
static extern long mono_gc_get_used_size();
[DllImport("__Internal")]
static extern long mono_gc_get_heap_size();
Well, to use pure .NET / Mono you can use the GC class
System.GC.GetTotalMemory
Besides that you could use Unity’s JNI interface to use the MemoryInfo class of the Android API. I don’t have setup my Andoid development on my new PC, so i can’t give you an example right now 