Noel J. Bergman wrote:
File_Persistent_Stream_Repository has been copied by the
cornerstone-store project.

IIRC, amusingly, they told us to copy/fork the code, because they were going
to delete it from Cornerstone.

All that files are still included in their last official cornerstone releases (cornerstone-store-2.1-impl contains it) ;-). Btw if the plan are to remove cornerstone it does not make sense to revert to the library code. I just looked at them to understand something more about that code.

inbox repositories are kept in a ReferenceMap (soft values) so
the whole "leak" should only be referenced via a weak reference

Are we sure that nothing else is holding a hard reference, e.g., the
RepositoryManager?  :-)

This explain the problem!
I thought I finished this work when fixing JAMES-412
http://issues.apache.org/jira/browse/JAMES-412

Indeed I didn't remove the whole RemoteManager. I attached a patch to JAMES-512.

this would be anyway a problem with the SpoolRepository.

No, I don't believe so.  The messages would be removed from the spool, and
thus the spool would not exhibit this problem.

        --- Noel

I often have 10000+ messages in the outgoing spool, but I always use db repository (mysql).

Btw, even if this but does not arise every time in every scenario I think this is a major issue and should be fixed. A leak is not a stable feature but a bug.

Stefano


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to