Hi,
-- Our application add/remove columns dynamically and while investigating a memory leak, I've found that it was causing my those 2 internal maps:
private final Map<Column<T, ?>, String> columnWidths = new HashMap<Column<T, ?>, String>();
private final Map<Integer, String> columnWidthsByIndex = new HashMap<Integer, String>();When calling the removeColumn method, the width is not removed from the map. We have to manually call clearColumnWidth(Column<T, ?> column) before removing a column or the memory keep growing.
Is this by design or the width should be cleared automatically when calling removeColumn?
Browser: Chrome
OS: Win 7 x64
GWT: 2.7.0
Thanks!
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment