I think I found the culprit.
I refactored a bunch of tests to run the set up once, it got faster, but not 
enough.
Then I changed all the test mapping files to point to:
<schemaUri>http://schemas.opengis.net/GeoSciML/geosciml.xsd </schemaUri>
Instead of the local schemas in test-resources.

Now I can run all gt-app-schema tests with 256 M :D.
I will make sure I didn't break any geoserver app-schema tests before I commit. 

-----Original Message-----
From: Gabriel Roldan [mailto:[email protected]] 
Sent: Friday, 10 July 2009 11:54 AM
To: Caradoc-Davies, Ben (E&M, Kensington)
Cc: Angreani, Rini (E&M, Kensington); Geotools-Devel list
Subject: Re: [ExternalEmail] Re: [Geotools-devel] app-schema build time/mem

Ben Caradoc-Davies wrote:
> Ben Caradoc-Davies wrote:
>> Thanks Gabriel, that is a definite improvement. GEOT-2608 committed as 
>> r33538.
> 
> Still not enough to get FeatureChainingTest to run with 256M heap, as on 
> Hudson.
> 
nope, but because of a memory leak. If you run FeatureChainingTest only 
you can do that with 128m:
mvn test -Dtest=org.geotools.data.complex.FeatureChainingTest 
-Dtest.maxHeapSize=128m -o

So the two improvements needed keep being:
- lazy parsing of emf elements/types into gt descriptors/types
- fix mem leak (DataAccessRegistry is my suspect)

I am looking into the former now. No promises though, it's getting late, 
but I may hopefully come up with at least a sensible plan.

As for the seconds, I would also like to provide a patch. But may be 
over the weekend as this is spare time.

Cheers,
Gabriel
-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to