It's a released google play app.
Once app released with lots users using it, it seems crashes quite often.
I caught some errors before, and they are quite commonly "Out of memory" error, but it's difficult to repro. I have no idea how to fix or even log it? How to avoid out of memory error in general?
By the way, is there anyway I can programmatically call some functions, GC for example, to make the app release all used memory and start from a point like "app just started"?
Google developer console has a "Crashes and ANR" section, but nothing log in there, so, how to log error in that section? Or just how to log it in general?
Thanks in advance.