You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "Flavio Junqueira (JIRA)" <ji...@apache.org> on 2011/05/24 20:20:47 UTC
[jira] [Assigned] (BOOKKEEPER-19) BookKeeper doesn't support more
than 2Gig of memory
[ https://issues.apache.org/jira/browse/BOOKKEEPER-19?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Flavio Junqueira reassigned BOOKKEEPER-19:
------------------------------------------
Assignee: Ivan Kelly
> 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
> 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