Re: [OpenLayers-Users] Re moved markers still occupy memory :/

2008-08-10 Thread Eric Lemoine
Hi realjax. What do you mean? That OL does modify the prototype of Array? If so where in the code? Thanks. Eric 2008/8/10, realjax <[EMAIL PROTECTED]>: > > You better take a look at OpenLayers.Util then. > > > Eric Lemoine-3 wrote: >> >> OpenLayers does not modify the prototypes of native JS types

Re: [OpenLayers-Users] Re moved markers still occupy memory :/

2008-08-09 Thread realjax
You better take a look at OpenLayers.Util then. Eric Lemoine-3 wrote: > > OpenLayers does not modify the prototypes of native JS types (Array, > Function, etc.). Eric > > 2008/8/9, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: >> I stand corrected.. (again) :-) >> >> Still.. IE6 doesn't support it,

Re: [OpenLayers-Users] Re moved markers still occupy memory :/

2008-08-09 Thread jax
- Original Message - From: [EMAIL PROTECTED] To: Eric Lemoine [mailto:[EMAIL PROTECTED] Sent: Sat, 09 Aug 2008 16:08:45 +0200 Subject: Re: [OpenLayers-Users] Re moved markers still occupy memory :/ fine with me. I was obviously wrong. bye all. > > - Original M

Re: [OpenLayers-Users] Re moved markers still occupy memory :/

2008-08-09 Thread Eric Lemoine
OpenLayers does not modify the prototypes of native JS types (Array, Function, etc.). Eric 2008/8/9, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > I stand corrected.. (again) :-) > > Still.. IE6 doesn't support it, so in the case of IE 6 it then probably gets > added to array's prototype somewhere. I s

Re: [OpenLayers-Users] Re moved markers still occupy memory :/

2008-08-08 Thread jax
I stand corrected.. (again) :-) Still.. IE6 doesn't support it, so in the case of IE 6 it then probably gets added to array's prototype somewhere. I searched for this possibility but couldn't find it in the code. I guess I spoke too soon. My apologies. > Er, I think this is a very unlikely sta

Re: [OpenLayers-Users] Re moved markers still occupy memory :/

2008-08-08 Thread Christopher Schmidt
On Fri, Aug 08, 2008 at 02:36:19AM -0700, realjax wrote: > > Try destroying them as well on the markers layer > > If you just want to get rid of all markers on the marker layer it should be: > > localizationLayer.destroy() > > (assuming localizationLayer is of type OpenLayers.Layer.markers ) >

Re: [OpenLayers-Users] Re moved markers still occupy memory :/

2008-08-08 Thread realjax
Try destroying them as well on the markers layer If you just want to get rid of all markers on the marker layer it should be: localizationLayer.destroy() (assuming localizationLayer is of type OpenLayers.Layer.markers ) The problem might be in the fact that the removeMarker makes use of OpenL

Re: [OpenLayers-Users] Re moved markers still occupy memory :/

2008-08-07 Thread Eric Lemoine
I also did observe memory leaks with the markers layer a while back. Some correction even made it into trunk but it didn't solve the problem entirely. Why dont you open a ticket with an example demonstrating the problem? Regards. Eric 2008/8/7, lukast <[EMAIL PROTECTED]>: > > Thanks for quick repl

Re: [OpenLayers-Users] Re moved markers still occupy memory :/

2008-08-07 Thread lukast
Thanks for quick reply ! I have used png icons, but had image hack disabled: OpenLayers.Util.alphaHack = function() { return false; } Now I converted my marker icon to gif, but unfortunatelly it did not help :/ Every time I add some markers memory increases (ok, that is normal), but when I remov

Re: [OpenLayers-Users] Re moved markers still occupy memory :/

2008-08-07 Thread lukast
Has anyone aony idea ? I would appreciate any help.. lukast wrote: > > Hi, > > I've got memory usage problem with OpenLayers 2.6 in IE 6. Memory seems to > slowly but instantly increase when using the map. I am using Drip 0.5 to > detect memory leaks - but it shows no memory leaks since I have