I am working on an Android project for last few months.
This is my first android project.

Basically we have to create a form to fill.
Problems forms are long ... very very long ... 
Client use to use paper form before and each form was normally 10 to 12 
page.
So we are putting all those large forms in to android.
Another major task was to be able to create PDF on the fly and send them by 
email (each PDF becomes normally 20 pages).

Main problem out of memory exception after filling three/four forms. 
I have already used large heap true which is helping a lot ... 
allowing me to fill more then two forms but this is not a solution 

I am calling system.gc() after every major task completion.
I have made almost every thing static and no useless variables or memory 
leak is found.
This is just a big hungry application.

Each time after loading a form on the screen heap size becomes around 20 MB
After sending a pdf email it becomes around 30 MB
So when I load a second form heap becomes around 40 MB .....

Means though I am doing finish() on each component it is not releasing the 
memory ...

Any advice ????






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