OruxMaps
Visit the new forum: <a href="http://www.oruxmaps.com/foro">OruxMaps</a>

Error loading kml file

Go down

Error loading kml file Empty Error loading kml file

Post  RichZ on Wed Jul 31, 2013 2:55 pm

Hi,

trying to load a kml file generated by www.poi66.com I get an "Error loading file".

After that when touching the touchscreen OruxMaps get an java.lang.OutOfMemoryError in Bitmap.java, called from aid.handleMessage(Sourcefile 91).

The kml file is 4MB big so I can see how that happens Sad

RichZ

Cantidad de envíos : 27
Fecha de inscripción : 2012-05-18

Back to top Go down

Error loading kml file Empty Re: Error loading kml file

Post  orux on Wed Jul 31, 2013 5:50 pm

RichZ wrote:Hi,

trying to load a kml file generated by www.poi66.com I get an "Error loading file".

After that when touching the touchscreen OruxMaps get an java.lang.OutOfMemoryError in Bitmap.java, called from aid.handleMessage(Sourcefile 91).

The kml file is 4MB big so I can see how that happens Sad

Hi

It should not happen with android version> 4.0.
But it is possible with older versions, there is an important limitation of memory on these devices

orux

_________________
Ahora puedes contribuir:--> DONACIÓN
Now you can contribute:--> DONATE
orux
orux

Cantidad de envíos : 3946
Fecha de inscripción : 2009-07-06

Back to top Go down

Error loading kml file Empty Re: Error loading kml file

Post  RichZ on Wed Jul 31, 2013 9:30 pm

orux wrote:
Hi

It should not happen with android version> 4.0.
But it is possible with older versions, there is an important limitation of memory on these devices

orux

yes, it is a 2.3.x device.

However I noticed that even when I split the file to parts around 300K there are still plenty of problems and oruxmaps seems to require more memory than with much larger kml files from other sources.
Any ideas if specific kml constructs could be using up more memory than expected? The entries look pretty bloated for my eye.

poi66.com also can export to following formats:
* Tomtom POI OV2
* Tomtom POI ASC
* Tomtom ITN ITN
* Google Earth KML
* Google Earth KMZ
* EasyGps GPX
* OziExplorer RTE
* OziExplorer PLT
* MioMap MIO
* Excel (NL) XLS
* Excel (UK/US) XLS
* Fugawi GPS TXT
* Navigon RTE
* Kompass Verlag TK
* Overlay OVL
* MagicMaps IKT
* Garmin Nuvi CSV
* Garmin CRS CRS
* !BETA! MioMapv3/IGo UPD
* !SOON! Sygic UPI

which ones would be best to try?





RichZ

Cantidad de envíos : 27
Fecha de inscripción : 2012-05-18

Back to top Go down

Error loading kml file Empty Error loading kml file

Post  RichZ on Thu Aug 01, 2013 9:32 pm

I have now tried the csv format and used gpsbabel to convert to a fairly celan and minimal kml file. Still impossible to load the file.

RichZ

Cantidad de envíos : 27
Fecha de inscripción : 2012-05-18

Back to top Go down

Error loading kml file Empty Error loading kml file

Post  RichZ on Mon Aug 05, 2013 8:43 am

I am concluding that the underlying xml parsing library has a severe memory leak. Frequently the crashes occur some time after a kml file has been loaded.

Loading 1000 simple points corrsponding to approximately 40-50K packed information should never cause out of memory problems.

RichZ

Cantidad de envíos : 27
Fecha de inscripción : 2012-05-18

Back to top Go down

Error loading kml file Empty Re: Error loading kml file

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum