Details
Description
DefaultMapContext attaches listeners to the feature source, these listeners are referenced by FeatureListenerManager and are never cleaned up, meaning each request builds up a new featuresource/defaultmapcontext couple in featureListenerManager. The leak is usually small, but can become sizeable if the styles used by the map context are big.
We should clean up after ourselves when the response is done (the cleanup code there, but for some strange reason it has been commented out when merging the WCS branch one year ago), but at the same time FeatureListenerManager should be smarter and use weak references to avoid this kind of issues
Issue Links
Activity
Andrea Aime
made changes -
Andrea Aime
made changes -
Andrea Aime
made changes -
| Status | Open [ 1 ] | Closed [ 6 ] |
| Resolution | Fixed [ 1 ] |
Andrea Aime
made changes -
| Status | Closed [ 6 ] | Reopened [ 4 ] |
| Resolution | Fixed [ 1 ] |
Andrea Aime
made changes -
| Fix Version/s | 1.6.0-RC3 [ 13993 ] | |
| Fix Version/s | 1.7.0-beta1 [ 13881 ] | |
| Fix Version/s | 1.6.0 [ 12871 ] |
Andrea Aime
made changes -
| Status | Reopened [ 4 ] | Closed [ 6 ] |
| Resolution | Fixed [ 1 ] |
Integrated in geoserver-trunk #100 (See http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/100/)