archana,
        i guess u r using image views or atleast images for the backgrounds.
If thats the case, u'll hv to call the bitmap.recycle() method to clear
memory occupied by the bitmap.

On Thu, Aug 27, 2009 at 7:37 PM, Archana <archana.14n...@gmail.com> wrote:

>
> Hi,
>
> I am using 5 views in one LinearLayout my app.While going to each view
> i am removing previous view by calling
> linearlayout.removeAllView().
> But I think this is not removing my previous view becoz when i checked
> memory usage.My app memory is keep on growing.and Becoz of this i am
> getting low memory :no more background process error and after
> sometime app is getting hang and then it is exiting.Please help me to
> solve this problem.How can we clear memory or how can we remove
> view.Its very urgent.I am using system.gc() and also i cleared object
> also but no use...
>
> I tried to use different activity for each View but at that time low
> memory is coming immediately.
>
> >
>


-- 
Regards,
Sujay
Joan Crawford<http://www.brainyquote.com/quotes/authors/j/joan_crawford.html>
- "I, Joan Crawford, I believe in the dollar. Everything I earn, I
spend."

--~--~---------~--~----~------------~-------~--~----~
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