My android app’s service uses 2.9 MB and nearly 5 MB when there is a notification?
Whether it’s good or I should cut down on memory usage?
Can someone tell me the ways to cut down on memory usage?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Its always advisable that your code use optimal memory.
Though this might give you idea about memory state in an app. http://developer.android.com/reference/android/app/ActivityManager.html#getMemoryClass
To go on statistic, in general its 24M.
Of course why not if its possible.
This is discussed here What are some Java memory management best practices?