I do not think this issue is reported to the issue tracker yet, although
you could search:

The warning about "ERROR  [geotools.map] - Call MapContent dispose() to
prevent memory leaks" may be able to tell us more specifically where the
problem is, please include one example of the stack trace from your
geoserver logs when reporting the issue.

Please also include some information on the GetLegendGraphic request. Was
it a layer group? A single PostGIS layer? An image mosaic?

--
Jody Garnett


On Nov 14, 2023 at 11:57:17 AM, Etienne Desgagné <
etienne.desga...@geocentralis.com> wrote:

> 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:
>
>
>
> [image: 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
>
_______________________________________________
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