Matas, I've tried recompiling commenting the line in PopUpImplIE6 you
suggest but with no luck :-(
I've seen that declaring a vector of labeledMarker and then adding :
labeledMarkerVector.add(new LabeledMarker(point, options));
removing :
map.clearOverlays();
Iterator v = labeledMarkerVector.iterator
();
while (v.hasNext()) {
//250209Miki: rimuovo anche overlay
singolarmente
map.removeOverlay((LabeledMarker)
v.next());
}
//250209Miki: e poi svuoto vettore di
appoggio
labeledMarkerVector.clear();
is the same thing.... memory usage still increase. I notice that only
with the vector, without any listener, memory doesn't increase...
the leak seems to be here:
((LabeledMarker) labeledMarkerVector.lastElement()).
addMarkerClickHandler(new MarkerClickHandler() {
public void onClick(MarkerClickEvent event) {
//050209Miki: gestisco qui il popup informativo
InfoWindow info = map.getInfoWindow();
info.open(event.getSender(),
new InfoWindowContent(
"<div style='width:150px;height:65px; font-size:12px'
"+
"class='info-window'>"+
//"<p><img width='35px' src='"+GWT.getModuleBaseURL()
+"'images/logonave.png' align='left'></p>" +
etc .....</div>"
));
}
});
is it a kwonwn issue?
thx
Michela
On 26 Feb, 10:36, koalina <[email protected]> wrote:
> Hi Matas,
> I've found this line in PopUpImplIE6..i don't call this object but
> perhaps it's called by InfoWindow in gwt google maps api... have i
> only to recompile gwt-user.jar or all the gwt and google maps jars?
> thx, have a nice day,
> Michela
>
> On 25 Feb, 16:43, Matas <[email protected]> wrote:
>
> > hi, Michela,
> > I have similar problem (in different context) with gwt 1.5.3. and
> > IE6/7memoryleaks. After some findings I found that leaking is caused
> > by trasparency filter:
>
> > style.filter = 'alpha(opacity=0)';
>
> > Try to remove transparency effects and then check formemoryleaks.
>
> > Please, take a look at the issue for
> > details:http://code.google.com/p/google-web-toolkit/issues/detail?id=2329&q=p...
>
> > --
> > Matas
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" 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-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---