[android-developers] Heap size continuously increase

2011-01-18 Thread Sapna Srivastav
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(),

Re: [android-developers] Heap size continuously increase

2011-01-18 Thread Kumar Bibek
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 sapna.ari...@gmail.comwrote: Hi to all I am developing

Re: [android-developers] Heap size continuously increase

2011-01-18 Thread Mark Murphy
On Tue, Jan 18, 2011 at 4:24 AM, Sapna Srivastav sapna.ari...@gmail.com wrote: 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.

Re: [android-developers] Heap size continuously increase

2011-01-18 Thread Stefan Langer
Memory is only freed when it is applicable for garbage collection. You should profile your application and see where you are holding onto references which keep your objects from being freed. Stefan 2011/1/18 Sapna Srivastav sapna.ari...@gmail.com: Hi to all I am developing an application that