Is it a service/activity? You have to give more details on what you are doing to make us understand your problem better.
Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Tue, Jan 18, 2011 at 2:54 PM, Sapna Srivastav <[email protected]>wrote: > Hi to all > > I am developing an application that will run 24x7 in which I used an > Alarm Manager for executing the application on every 1 minute by > setRepeating() method having entry of android:process=":remote" in > manifest.xml. The application size on heap increases gradually, I > called onDestroy(), finish() ,Runtime.getRuntime().gc and System.gc() > methods for cleaning the heap but it doesn't work. The heap size, that > I get from Debug.getHeapAllocatedSize(), is continuously increasing. > > How can I free the allocated memory when application is not running? > > Please help me to manage the memory of application. > > Thanks in adv > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

