Hi,

    We discovered recently that when using legend_options=hideEmptyRules:true 
during GetLegendGraphic WMS requests, the memory used to process the request is 
never released. We can see the problem on our JavaMelody used physical memory 
monitoring:

[Une image contenant texte, capture d'écran, Tracé, diagramme  Description 
générée automatiquement]

We also see in logs the following error each time we call the GetLegendGraphic 
request with mentioned parameter: ERROR  [geotools.map] - Call MapContent 
dispose() to prevent memory leaks

When we remove this hideEmptyRules parameter or change it to 
hideEmptyRules:false the problem disappear.

Is this problem already known?

We are using Geoserver version 2.23.1 on Linux instance (AWS)

JVM version: Eclipse Adoptium: 11.0.18 (OpenJDK 64-Bit Server VM)

Thanks for your help

Etienne

_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to