On Dec 2, 3:54 pm, bratliff <[email protected]> wrote:

> Or try using a standard JavaScript array instead of a MVC array.  I
> suspect MVC arrays have a whole bunch of backward / forward links to
> facilitate expansion / contraction / navigation of the array.  It may
> contain many small memory fragments.  Both conditions will frustrate
> the garbage collector.  I single linear chunk of memory is much less
> likely to cause leaks.  Releasing the entire array in one shot will
> also help the garbage collector.
>
> I am unable to see your "Method 1", "Method 2", "Method 3" links.
> Could you repost ?

Also, the requirement of individual "new google.maps.LatLng()"
constructors for every point of the poly adds extra junk for the
garbage collector to reclaim.

-- 
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 [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-js-api-v3?hl=en.

Reply via email to