[
https://issues.apache.org/jira/browse/IGNITE-16866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17523327#comment-17523327
]
Amelchev Nikita commented on IGNITE-16866:
------------------------------------------
[~liyuj] , Hi. I have left a comment in the PR.
> 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
> Assignee: YuJue Li
> Priority: Minor
> Fix For: 2.14
>
> Attachments:
> 0001-IGNITE-16866-Integer-value-is-out-of-bounds-when-the.patch,
> 2022-04-17_09-12.png
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)