Kanabis / andnav

Automatically exported from code.google.com/p/andnav
1 stars 1 forks source link

Ineffective memory-wise tiles retrieval algorithm #19

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. zoom onto screenful area you want to preload at resolution 64miles/cm
2. start preload operation at level 16 (Streetscale)
3. Observe the memory usage going through the roof

What is the expected output? What do you see instead?
Memory usage remains constant. On 128MB FreeRunner after receiving about
100+ tiles (out of total 24000) andnav2 (SVN:2010-01-27)crashed again with
out of memory error:
E/dalvikvm-heap(28722): Out of memory on a 8208-byte allocation.

What version of the product are you using? On what operating system?
andnav2 (SVN:2010-01-27) built for android 1.5 (cupcake) on
android-on-freerunner-cupcake-daily-20091216.tar.bz2

Please provide any additional information below.
The bug will become irrelevant in case more effective maps download
algorithm is implemented - see bug #15.

Original issue reported on code.google.com by skliarie@gmail.com on 31 Jan 2010 at 7:57