anongit / mytracks

Automatically exported from code.google.com/p/mytracks
0 stars 0 forks source link

phone memory dissapeared #242

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Record a track for long (6h) time while skiing
2.The phone memory is about 20MB free
3.

What is the expected output? What do you see instead?
About 6h the phone alert about low memory. So I stop recording, saved track to 
SD, delete de track from mytracks list, but Im still with low memory. Only 4MB 
free phone memory, where are the other 16MB? they never come back.

What version of MyTracks are you using? On what version of Android? On what
phone?
Mytracks 1.0.21 (moved to SD)
Android 2.2.1 FRG83D
NEXUS ONE

If possible please provide a log.  Either upload here or send to mytracks-
support@google.com.
Detailed instructions can be found here:
http://code.google.com/p/mytracks/wiki/HowToReportErrors

Please provide any additional information here:

Sorry for my english, im spanish.

Thank you.

Original issue reported on code.google.com by pablo...@gmail.com on 9 Dec 2010 at 12:01

GoogleCodeExporter commented 9 years ago
Unfortunately long tracks do consume a lot of space, although 20MB does seem 
like a lot.
About regaining the space, SQLite should compress the database every now and 
then (to make deletions fast, it doesn't actually remove the data, just marks 
it as deleted), so it will eventually come back. See 
http://www.sqlite.org/faq.html#q12 for details.

I'm keeping this bug open so we add a VACUUM call at some appropriate point 
(after deleting a track?).

Original comment by rdama...@google.com on 9 Dec 2010 at 2:08

GoogleCodeExporter commented 9 years ago

Original comment by sandordo...@google.com on 6 Jan 2011 at 7:06

GoogleCodeExporter commented 9 years ago
Here is a capture where you can see that the "system data" size is about 50MB 
instead of the usual 25MB. I hope this can help to find the problem.

Thanks

Original comment by pablo...@gmail.com on 12 Jan 2011 at 8:08

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by sandordo...@google.com on 18 Feb 2011 at 4:52

GoogleCodeExporter commented 9 years ago
Doing this now.

Original comment by rdama...@google.com on 2 Mar 2011 at 4:44

GoogleCodeExporter commented 9 years ago
Please review:
http://code.google.com/r/rdamazio-mytracks-staging1/source/detail?r=bf5968526db5
8c8b42343266d57acdffefc97fcb

Original comment by rdama...@google.com on 2 Mar 2011 at 4:50

GoogleCodeExporter commented 9 years ago

Original comment by rdama...@google.com on 2 Mar 2011 at 4:50

GoogleCodeExporter commented 9 years ago

Original comment by rdama...@google.com on 12 Mar 2011 at 3:38