Hi guys,
I have an application which fetches data from server and shows it in
different lists in my application.
I used the adb shell procrank command to find out the memory usage of my
application
It takes 10 mb for the UI (I have a single Activity ,but many layout files),
And the data which comes from the server is stored in memory arrays for
logical representation  on UI (As well as database)and it takes 6 mb of the
memory .So  application's runtime size reaches to 16 mb and then many a
times its crashing after that with OutOfMemoryException.
Another major problem is that later for the next client release , the data
comming from the server will be around 12 mb.. :( :( So i need to do a major
restructuring in the App.I beleive that i cannot increase my App size from
16 mb to more
So my question here is , can i have two seperate applications , one of which
will fetch the data from the server and keep it in memory as well as
database and another App will be used for showing the UI and it will do an
inter Application communication to fetch the data and display it on the UI
in this App.
So the 1st App wil be a backgrond App which will handle Server communication
as well as data storage , the second App will start this 1st App .
Thanks,Alok.

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

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to