#5 server does not clean up session handlers

v1.0 (example)
closed
nobody
1.4 (1)
5
2014-10-20
2012-11-01
alxgomz
No

We are using greenmail within Alfresco and have seen some memory usage that do not seem to be as efficient as possible. With each connection and synchronisation of the email client, the base heap memory consumption of the repository increases, despite the client being disconnected / logged out properly.
If needed we can provide a neutral heap dump for analysis. When looking at the "shortest path to GC root" we can see that 46 instances of com.icegreen.greenmail.imap.ImapHandler (80 MiB of retained memory) are kept in memory by deactivated handlers referenced from the ImapServer.
Attached is a patch generated from a previously patched version of greenmail. Applying this patch resolves the issue for our test case.

Discussion

  • alxgomz

    alxgomz - 2012-11-01
     
  • Marcel (mayma)

    Marcel (mayma) - 2014-10-20
    • labels: --> 1.4
    • status: open --> closed
    • Group: --> v1.0 (example)
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks