View previous topic :: View next topic |
Author |
Message |
levz0r Occasional Visitor
Joined: Oct 20, 2011 Posts: 4
|
Posted: Thu Oct 20, 2011 11:39 pm Post subject: HUGE memory consumption on Android |
|
|
Hello all.
I've been using Telmap for a several years already. When I got my first Android phone, the first thing I did was installing Telmap on it
After some time I started to receive strange exceptions messages from almost every application which was running in the background. After investigating some stack traces, it was clear that the phone was running out of data (/data/data) memory. The first thing I did is checking which application(s) consumes the data memory. While most application seem to use around 1MB for data storage, Telmap is using almost 20MB. My device, Samsung Galaxy S, which now has Android 2.3.5 installed, has an allocation of 175MB of memory for data storage.
There must be a way to store all the resource files used by Telmap in another location: the internal memory (which is 2GB here) or the SD-Card (which is 16GB). The /data/data is just too small to handle all these files.
Please look into this issue!
Thanks, Lev. |
|
Back to top |
|
|
TUGAdmin Frequent Visitor
Joined: Jul 20, 2009 Posts: 299
|
Posted: Fri Oct 21, 2011 9:54 am Post subject: |
|
|
Dear Lev User Group Member,
Thank you for your question, in a few days we will publish our answer on the issue.
Best regards,
TUG Admin. |
|
Back to top |
|
|
levz0r Occasional Visitor
Joined: Oct 20, 2011 Posts: 4
|
Posted: Tue Oct 25, 2011 10:11 pm Post subject: |
|
|
Ok, looking forward for your reply.
Do you want me to provide any additional info? |
|
Back to top |
|
|
TUGAdmin Frequent Visitor
Joined: Jul 20, 2009 Posts: 299
|
Posted: Tue Nov 01, 2011 8:44 am Post subject: |
|
|
Hello Lev,
We have investigated the data consuming issue by comparing it to our production versions (which are provided to our customers – mobile operators).
In production version the memory consumption is half (10MB), while in Beta version- the one we provide for our user group, its is doubled.
The reason is that this is a generic multi lingual version that includes all graphics available as well as all content providers.
Naturally, such amount of data sources consumes a lot of memory…
Clearly, this is not something that can be changed.
Thanks for encountering us on that matter.
Any other question is welcome! |
|
Back to top |
|
|
levz0r Occasional Visitor
Joined: Oct 20, 2011 Posts: 4
|
Posted: Wed Nov 09, 2011 5:46 pm Post subject: |
|
|
Thanks for investigating the case!
Maybe I misunderstand something but I don't see the point why the production version comes with all those resources. Most users use Telmap in their native language, so why to provide the rest of the resources? If one decides to switch language, in my opinion it will be more efficient to download the needed resources on demand and load them into the application. This will save Android users expensive amount of storage. |
|
Back to top |
|
|
TUGAdmin Frequent Visitor
Joined: Jul 20, 2009 Posts: 299
|
Posted: Mon Nov 14, 2011 9:32 am Post subject: |
|
|
In general you are right, but the presale version is for wide spectrum of costumers and languages, so it needs to support all relevant languages. |
|
Back to top |
|
|
M8TJT The Other Tired Old Man
Joined: Apr 04, 2006 Posts: 10118 Location: Bexhill, South Sussex, UK
|
Posted: Mon Nov 14, 2011 10:10 am Post subject: |
|
|
So be innotive. Give the user the ability to remove the dross that they don't need. |
|
Back to top |
|
|
levz0r Occasional Visitor
Joined: Oct 20, 2011 Posts: 4
|
Posted: Mon Nov 14, 2011 1:56 pm Post subject: |
|
|
You can also store those resources on the internal/external SD-Card instead of the /data partition. This will be way better for Android users which have many applications installed. |
|
Back to top |
|
|
|
Posted: Today Post subject: Pocket GPS Advertising |
|
|
We see you’re using an ad-blocker. We’re fine with that and won’t stop you visiting the site.
Have you considered making a donation towards website running costs?. Or you could disable your ad-blocker for this site. We think you’ll find our adverts are not overbearing!
|
|
Back to top |
|
|
|