[Geoserver-devel] [jira] Created: (GEOS-3534) DescribeFeatureType leaks memory

DescribeFeatureType leaks memory
--------------------------------

                 Key: GEOS-3534
                 URL: http://jira.codehaus.org/browse/GEOS-3534
             Project: GeoServer
          Issue Type: Bug
          Components: WFS
            Reporter: Andrea Aime
            Assignee: Justin Deoliveira
             Fix For: 2.0-RC2

Each DescribeFeatureType leaks small amounts of memory. Using a VM configured to have only 64M or memory and with the default data dir configuration the following test:

ab -n 10000 "http://localhost:8080/geoserver/wfs?version=1.0.0&request=DescribeFeatureType&typename=sf%3Aarchsites"

which tries to run that DFT request 10.000 times starts failing with OOM errors between the 4000th and 5000th request.

Given the nature of the requests the schema cache is filling up, YourKit reports memory being filled with org.eclipse.xsd.impl.XSDElementDeclarationImpl objects

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira