[
https://issues.apache.org/jira/browse/JCR-2832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jukka Zitting resolved JCR-2832.
--------------------------------
Resolution: Fixed
Fix Version/s: 2.2.2
Assignee: Jukka Zitting
Nice, thanks! Patch committed in revision 1060431. See also revision 1060434
for minor improvements.
Merged to the 2.2 branch in revision 1060445.
> 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
> Assignee: Jukka Zitting
> Priority: Minor
> Fix For: 2.2.2
>
> Attachments: jackrabbit-cluster-outofmem.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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.