Hi all, I get many LOG error messages: "Call MapContent dispose() to prevent 
memory leaks"
I think that they come from GetMap method 
(https://github.com/geoserver/geoserver/blob/master/src/wms/src/main/java/org/geoserver/wms/GetMap.java#L116)
 when an error occurs. The MapContent object never is disposed, and finally GC 
runs its finalize method.

I solve this issue adding the dispose call to the catch 
clause:https://github.com/ahuarte47/geoserver/commit/7901f8bd404ae7f664b9a8795d2e7713dc871144

I am right?It makes sense to create a pull request to fix it?


Best regardsAlvaro
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to