Memory leak in WMS GetFeatureInfo GML3 encoding

Description

Steps to reproduce:

  • deploy the latest stable geoserver war (2.10.0) on tomcat

  • execute the following curl command:

curl "127.0.0.1:8080/geoserver/ows?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&FORMAT=image%2Fpng&TRANSPARENT=true&QUERY_LAYERS=tiger%3Apoly_landmarks&STYLES&LAYERS=tiger%3Apoly_landmarks&INFO_FORMAT=application%2Fvnd.ogc.gml%2F3.1.1&FEATURE_COUNT=50&X=50&Y=50&SRS=EPSG%3A4326&WIDTH=101&HEIGHT=101&BBOX=-73.97317886352539%2C40.81266403198242%2C-73.93850326538086%2C40.84733963012695
&n=[1-3000]" > out.txt

(fires 3000 identical requests on the poly_landmarks layer)

The memory is gradually going up and eventually the server blocks with an out-fo-memory error. Heap dump show lots of eclipse emf schema classes.

Environment

None

Status

Assignee

Unassigned

Reporter

Jan De Moerloose

Triage

Fix versions

Affects versions

2.10.0

Components

Priority

Highest
Configure