Memory Leak in App-schema
-------------------------

                 Key: GEOT-3473
                 URL: http://jira.codehaus.org/browse/GEOT-3473
             Project: GeoTools
          Issue Type: Bug
          Components: data app-schema
            Reporter: Niels Charlier
            Assignee: Niels Charlier


There is a memory leak in app-schema, where XSD schema information objects do 
not get cleaned up properly.

This causes memory issues when running multiple tests on a maven build. At the 
moment, any test we add causes an outofmemory error to occur when building.

For example, I make a heap dump in PolymorphismWfsTest, before any work is done 
or any mock data is built. (This is a test that gets run at a later stage and 
gets a memory error when building using java6 - which I need to do heap dumps 
from code. When building with java5 the order is for some reason different and 
PropertyEncodingTest is the first to get the error, but that is not the case 
when using java6.)

When running the test by itself, the heap dump is 3MB. When running in Maven, 
the same heap dump is 300MB. 
Same if I make a dump in a test that gets run at an earlier stage, the heap 
dump is rather small.

So stuff keeps hanging around from earlier tests that shouldn't.

-- 
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

        

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to