Anyone think that might be handy?

2009/5/20 Björn Brala <[email protected]>

> Because of thing s like this i use a markercache, Instead of removing the
> marker, i hide and and store it in an object, then change the
> appearance/location and reload it onto the map.
>
>
> http://demo.geostart.nl/geostart.markercache.prototype.js
>
> Relevant lines:
>
> 25-32: Removing: If its a point, instead of removeoverlay, push it into the
> markercache and hide it.
> 142-181: Adding: If its a point, and the markercache isnt empty, use that
> point, move it, and change the icon image.
>
> Perhaps that helps.
>
> *ponders* perhaps i can just make this a utility library thingie. Shoudlnt
> be to hard to port. */ponders*
>
>
> 2009/5/20 yanimal <[email protected]>
>
>
>> Hi there,
>>
>> I am having issues with fairly severe memory leaks in IE6 on XP Pro
>> and Win2003. I have created a test page to demonstrate the problem :
>>
>> http://www.yanimal.co.uk/index.htm
>>
>> This basically loads 225 markers onto the map, and then removes them
>> and adds a new set of 225 every 5 seconds. I realise this is an
>> extreme example, but it demonstrates quickly a problem I am having
>> over a longer period of time.
>>
>> Symptoms : in IE6 my memory usage goes up by 15-20Mb every 5 seconds
>> (i.e. every time the markers are refreshed). In Firefox 3.0.10 it is
>> more like 2Mb.
>> This occurs using v2.156 onwards. Previous to this, the memory leak
>> (whilst still present) is nowhere near as severe. I have the same page
>> running version 2.140 for comparison :
>>
>> http://www.yanimal.co.uk/index140.htm
>>
>> This leaks about 2Mb each time
>>
>> I'm convinced I'm doing something fairly basic wrong - but I can't see
>> what it is...
>>
>> Cheers
>> Ian
>>
>> >>
>>
>
>
> --
> Bjorn Brala
> ----------------
> www.GeoStart.nl/english/ - Google maps - Swis Webdesign
> twitter.com/bbrala
>
>


-- 
Bjorn Brala
----------------
www.GeoStart.nl/english/ - Google maps - Swis Webdesign
twitter.com/bbrala

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to