You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladimir Ozerov (JIRA)" <ji...@apache.org> on 2017/09/26 12:14:00 UTC
[jira] [Updated] (IGNITE-5755) Wrong msg: calculation of memory
policy size
[ https://issues.apache.org/jira/browse/IGNITE-5755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vladimir Ozerov updated IGNITE-5755:
------------------------------------
Fix Version/s: (was: 2.3)
> Wrong msg: calculation of memory policy size
> --------------------------------------------
>
> Key: IGNITE-5755
> URL: https://issues.apache.org/jira/browse/IGNITE-5755
> Project: Ignite
> Issue Type: Bug
> Components: general
> Affects Versions: 2.1
> Reporter: Alexander Belyak
> Priority: Trivial
>
> In PageMemoryNoStoreImpl:
> {noformat}
> throw new IgniteOutOfMemoryException("Not enough memory allocated " +
> "(consider increasing memory policy size or enabling evictions) " +
> "[policyName=" + memoryPolicyCfg.getName() +
> ", size=" + U.readableSize(memoryPolicyCfg.getMaxSize(), true) + "]"
> {noformat}
> wrong usage of U.readableSize - we should use non "Si" (1024 instead of 1000) multiplier. Right code is:
> {noformat}
> throw new IgniteOutOfMemoryException("Not enough memory allocated " +
> "(consider increasing memory policy size or enabling evictions) " +
> "[policyName=" + memoryPolicyCfg.getName() +
> ", size=" + U.readableSize(memoryPolicyCfg.getMaxSize(), false) + "]"
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)