OOM when using JCR when select folder with many recent messages
---------------------------------------------------------------
Key: IMAP-159
URL: https://issues.apache.org/jira/browse/IMAP-159
Project: JAMES Imap
Issue Type: Bug
Components: JCR Mailbox
Reporter: Norman Maurer
Assignee: Norman Maurer
Fix For: 0.1
If you use JCR and select a folder with many RECENT messages you will get a OOM
soon. This is because it try to handle updating the recent flag on all Messages
in one batch (after it it call session.save()). Because of Jackrabbit which
handle the whole TransistSpace in Memory this is a bad idea.
See https://issues.apache.org/jira/browse/JCR-2051.
We should better handle this in small batches..
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]