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:11:00 UTC

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

YuJue Li created IGNITE-16866:
---------------------------------

             Summary: 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
             Fix For: 2.14


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)