For an algorithm, you can be able to compute the time complexity to determine its efficiency. Is there any general framework, principles that can be used to compute or estimate the memory consumption required by an android application or even just an activity?
I looked at the possible duplicate question but it doesn't provide a general framework or way of computation for memory usage as explained in the comment reply below.