[
https://issues.apache.org/jira/browse/BOOKKEEPER-19?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Kelly updated BOOKKEEPER-19:
---------------------------------
Fix Version/s: 3.4.0
> BookKeeper doesn't support more than 2Gig of memory
> ---------------------------------------------------
>
> Key: BOOKKEEPER-19
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-19
> Project: Bookkeeper
> Issue Type: Bug
> Reporter: Ivan Kelly
> Assignee: Ivan Kelly
> Fix For: 3.4.0
>
> Attachments: BOOKKEEPER-19.diff
>
>
> From LedgerCache.java
> private static int pageLimit = (int)(Runtime.getRuntime().maxMemory() /
> 3) / LedgerEntryPage.PAGE_SIZE;
> pageLimit will be negative is maxMemory is 2^31 or more. This causes
> exceptions later on when pageLimit is used.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira