World Wind Forums

Go Back   World Wind Forums > WorldWind JAVA forums > Development Help

Development Help Help for building applications or diagnosing problems with WWJ

Reply
 
Thread Tools Display Modes
Old 11-07-2011, 04:05 PM   #1
adanecito
Senior Member
 
Join Date: Apr 2008
Location: Boise ID
Posts: 451
adanecito is on a distinguished road
Default KML Supprt takes lots of memory...

Hi All,

Has anyone noticed when using the KMLView demo and loading a KML file it requires lots of memory (over 500MB) else you get a out of memory error from the jvm? Strange I can load over 25 layers and take less than 300MB yet a single KML file can consume most of a users free memory.

I am hoping I just need to update my wwj worldwind jar. I am using build 84 jar.

Regards,
-Tony
adanecito is offline   Reply With Quote
Old 11-08-2011, 04:26 AM   #2
adanecito
Senior Member
 
Join Date: Apr 2008
Location: Boise ID
Posts: 451
adanecito is on a distinguished road
Default

I measured Google Earth and it goes from 136M to over 1GB then when it renders it drops down to 334MB. KMLViewer starts out at 110MB and goes to over 550MB when the kmz file is loaded. It has over ten layers you can select from to view. Of course one layer by default by the KML file is viewed.

I noticed when I added another kmz file another 50MB is used on google maps.

I will look to see if there is any memory optimization that can be done using WWJ and KML.

Regards,
-Tony
adanecito is offline   Reply With Quote
Old 11-08-2011, 03:17 PM   #3
adanecito
Senior Member
 
Join Date: Apr 2008
Location: Boise ID
Posts: 451
adanecito is on a distinguished road
Default

I downloaded the latest build of 1.2 and ran KMLViewer and got the same results. Will try other kml files to see the results and look at the WWJ source to try to understand better what is happening.
adanecito is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
KML tag WWJ Release Announcements 50 07-21-2011 06:49 PM
Tip: Consider using a KML Builder rather than an XML builder for generating KML wobster Development Help 1 07-13-2011 03:12 PM
My elevations don't show tsimmi Server Discussion 7 06-11-2010 11:00 AM
kml loads, but not as expected apa Technical Support 25 02-26-2010 04:29 AM
Kml texture IO error kmf164 Development Help 3 06-15-2009 09:11 PM


All times are GMT +1. The time now is 05:15 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.