james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Norman Maurer (JIRA)" <server-...@james.apache.org>
Subject [jira] Created: (IMAP-159) OOM when using JCR when select folder with many recent messages
Date Wed, 23 Jun 2010 13:37:50 GMT
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


Mime
View raw message