I pinned this down to a Chrome Windows memory leak:
http://code.google.com/p/chromium/issues/detail?id=96403

Try
    marker.set('optimized', false);
in the meantime.

Cheers
Ben

On Tue, Sep 13, 2011 at 2:24 PM, Ben Appleton <apple...@google.com> wrote:

> Aha, I spoke too soon! Although the Chrome heap debugger shows no JS or DOM
> memory growth, my OS task manager shows Chrome is leaking memory at
> 1.5MB/second. I'll see if I can replicate the leak in a stand-alone page
> (not loading the Maps API) and file a Chrome bug.
>
> Meanwhile, you can work around the leak by writing
>     marker.set('optimized', false);
> to revert to the old DOM-based markers. This fixes the memory leak on my
> setup.
>
> Cheers
> Ben
>
>
> On Tue, Sep 13, 2011 at 12:59 PM, Ben Appleton <apple...@google.com>wrote:
>
>> Thanks for the link, that's very helpful. Unfortunately there is no leak
>> in Chrome 14 / Windows 7. I'll try Chrome 13, but meanwhile could you
>> specify the operating system in which you see the issue?
>>
>> Cheers
>> Ben
>>
>> On Mon, Sep 12, 2011 at 10:09 PM, en4ce <djen...@googlemail.com> wrote:
>>
>>> same for me, the page crashes... you did try to play around with the
>>> intervals? maybe something bigger then 50 will help, did you check if
>>> it crashes randomly or always on the same latlng? try to make a log to
>>> see how it behaves
>>>
>>> bests
>>>
>>> On 11 Sep., 23:22, Felipe Andrade <feliandr...@gmail.com> wrote:
>>> > I am having problems with memory when trying to move a marker through a
>>> > large amount of points. My page is one where I have a single marker and
>>> a
>>> > large array of LatLng objects (about 2800). I am using chrome
>>> 13.0.782.220,
>>> > and after a while of the marker moving, the tab crashes. I suspect is
>>> it
>>> > because of memory since I see it growing and growing once the page
>>> loads. I
>>> > don't see why memory should increase so much since I am using a single
>>> > marker, and moving it with setPosition.
>>> >
>>> > The page can be seen athttp://dl.dropbox.com/u/7020621/map1.html
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "Google Maps JavaScript API v3" group.
>>> To post to this group, send email to
>>> google-maps-js-api-v3@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> google-maps-js-api-v3+unsubscr...@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>>>
>>>
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to