Hi, On 4/16/06, Torgeir Veimo <[EMAIL PROTECTED]> wrote: > A TransientRepository wouldn't be sufficient here, since it doesn't > actually persist any data?
It does persist the data. The naming is a bit unfortunate (my mistake), it refers to the transient nature of the underlying RepositoryImpl instance (it is only present when one or more sessions are open), not to whether the content data is persisted or not. > What's exactly the issue with the repository that prevents gc when all > sessions are closed? The RepositoryImpl class sets up quite a few internal data structures that are shared by all the sessions. These data structures are only released when shutdown() is called, not when sessions are closed. BR, Jukka Zitting -- Yukatan - http://yukatan.fi/ - [EMAIL PROTECTED] Software craftsmanship, JCR consulting, and Java development
