jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Omid Milani (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-2832) Crash when adding node to cluster with big journal on PSQL DB
Date Tue, 07 Dec 2010 12:30:09 GMT
Crash when adding node to cluster with big journal on PSQL DB
-------------------------------------------------------------

                 Key: JCR-2832
                 URL: https://issues.apache.org/jira/browse/JCR-2832
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: clustering, jackrabbit-core
    Affects Versions: 2.1.2
         Environment: Clustering with database journal using PSQL
            Reporter: Omid Milani
             Fix For: 2.1.3


When adding a new node to a cluster with big journal on PSQL database application runs out
of memory on the new node and crashes (no exception, application exits with code 137).
It's because with PSQL, when no fetchSize is specified, all the results of query are loaded
into memory before being passed to application. Furthermore, specification of fetchSize only
works in transactional mode and have no effect if autoCommit is true. (these are configured
in ConnectionHelper)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message