You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "YuJue Li (Jira)" <ji...@apache.org> on 2022/04/17 01:14:00 UTC

[jira] [Updated] (IGNITE-16866) Integer value is out of bounds when the dataregion maxSize is large enough

     [ https://issues.apache.org/jira/browse/IGNITE-16866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

YuJue Li updated IGNITE-16866:
------------------------------
    Attachment: 2022-04-17_09-12.png

> Integer value is out of bounds when the dataregion maxSize is large enough
> --------------------------------------------------------------------------
>
>                 Key: IGNITE-16866
>                 URL: https://issues.apache.org/jira/browse/IGNITE-16866
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>    Affects Versions: 2.12
>            Reporter: YuJue Li
>            Priority: Minor
>             Fix For: 2.14
>
>         Attachments: 2022-04-17_09-12.png
>
>
> In the Random2LruPageEvictionTracker and RandomLruPageEvictionTracker, trackingSize is int, Therefore, when the maxSize of the dataregion is large enough (for example, more than 1.2T), execute GridUnsafe.allocateMemory to allocate memory, the maximum value of int will be exceeded.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)