You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Norman Maurer (JIRA)" <se...@james.apache.org> on 2010/06/23 15:37:50 UTC
[jira] Created: (IMAP-159) OOM when using JCR when select folder
with many recent messages
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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] Resolved: (IMAP-159) OOM when using JCR when select folder
with many recent messages
Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
[ https://issues.apache.org/jira/browse/IMAP-159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Norman Maurer resolved IMAP-159.
--------------------------------
Resolution: Fixed
fixed..
> 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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org