I am having some trouble around memory leaks in my app. I just wanted to know that whether it is possible to identify how much memory allocated by my app on heap so that i can reduce my resources accordingly. I know that system gives low memory warnings & i can clean up my data there but even if sometimes it wont happen. If i get to know that my app is reaching maximum memory & remaining size on heap so i could be better to reduce my resources.
Thanks in advance....