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.com>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 android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to