Micheal,
 
There are some internal caches of the parsed schemas that will continue to grow. This will not be cahnged for performance reasons within server applications.
 
The other posibility is that you are not closing the Feature Reader when using it ... this would also leak memory (Note: this does not clear the static schema cache).
 
HTH.
 
DZ

 
On 8/8/06, Michael Lutz <[EMAIL PROTECTED]> wrote:
David,

I am having the same problem with version 2.2-RC3. If you had already
fixed it in February, shouldn't the fix be included in this version?

Strangely enough, the memory leak only occurs if the GML file has at
least 10 features.

Hope you can help me there.

Cheers,
Michael


> From: David Zwiers <[EMAIL PROTECTED]>
> Re: GMLDataStore Memory Leak  2006-02-10 08:43
>
>  Which version of the build are you using? I think I fixed this on head a
>  while back ... but this hasn't been released yet. If you are compiling your
>  own copy, well then I'll have to dig back into it.
>
>  The threads are being spawned todo the parsing, and were not being killed
>  when the feature_reader was left alone. I do not believe you have runaway
>  threads (infinite looping of yields / waits), just some unwanted memory.
>  Basically this cannot be completely fixed, because you don't always know
>  when someone is finished with the reader.
>
>  The fix in question had todo with the handling getting the FeatureSchema,
>  which originally would have left threads hanging around at times.
>
>  Please let me know,
>
>  David

--
Michael Lutz
European Commission - DG Joint Research Centre
Institute for Environment & Sustainability
Spatial Data Infrastructures Unit - T.P. 262
Via E. Fermi 1, 21020 Ispra (VA), Italy
Phone +39 0332 78-6759
Fax   +39 0332 78-6325
WWW   http://ies.jrc.cec.eu.int/sdi.html

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to