Hi all,

lately I saw a couple of OutOfMemoryError reports around forrest. Brain
and Gavin reported them around the dispatcher plugin. Actually today I
ran to an OutOfMemoryError within our solr plugin. 

The code is not used with the dispatcher but directly. I am using 
http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/src/java/org/apache/forrest/solr/client/SolrSearchGenerator.java?view=log

Doing a "top" on the box I see that the memory never got cleaned up. It
keeps on growing till it reaches the max. You can see it quite fast in
limiting the max memory to a real small amount (e.g. 128M) the memory
usage is keep on growing till forrest fails with Heaps size error. 

My first impression would be that is caused by the above generator but
seeing all the recent threads about similar situations it makes me
wander whether that may be a general problem.

Does anybody see an obvious leak in the above generator? Does anybody
has an idea how we can trigger the leak?

TIA

salu2
-- 
Thorsten Scherler                                 thorsten.at.apache.org
Open Source Java                      consulting, training and solutions