[Geoserver-devel] Build breaks with OOM errors

Hi,
after updating from svn I run a build of geotools 2.4.x
and geoserver trunk.
The Geoserver trunk build fails with OOM errors.
In Maven this happens only for one of the last test of
org.geoserver.wfs.v1_1.GetFeatureTest (testAfterFeatureTypeAdded)
but if I run the same test in Eclipse the last half of the
tests do fail for OOM. This is because Eclipse runs the same
tests with the default memory size of 64MB, whilst I think
Maven is using a bigger amount.
This makes me think there is a cumulative memory leak in the
xml subsystem that caches the xml schemas, since there has
been a change lately in exactly that part of the code, and
the tests do keep on getting geoserver up and down as
part of their setup phase.

Cheers
Andrea

Actually it was a problem with the mock test setups and the bast test
class not properly disposing of the application context in teh test
tearDown method. Fixed now.

-Justin

Andrea Aime wrote:

Hi,
after updating from svn I run a build of geotools 2.4.x
and geoserver trunk.
The Geoserver trunk build fails with OOM errors.
In Maven this happens only for one of the last test of
org.geoserver.wfs.v1_1.GetFeatureTest (testAfterFeatureTypeAdded)
but if I run the same test in Eclipse the last half of the
tests do fail for OOM. This is because Eclipse runs the same
tests with the default memory size of 64MB, whilst I think
Maven is using a bigger amount.
This makes me think there is a cumulative memory leak in the
xml subsystem that caches the xml schemas, since there has
been a change lately in exactly that part of the code, and
the tests do keep on getting geoserver up and down as
part of their setup phase.

Cheers
Andrea

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

!DSPAM:4007,470dcf1f134582143011171!

--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org