[
https://issues.apache.org/jira/browse/IGNITE-9544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16610626#comment-16610626
]
Alexand Polyakov commented on IGNITE-9544:
------------------------------------------
{code:java}
if (reqCap>Integer.MAX_VALUE - 8)
{code}
throw error
> BinaryOutputStream#writeByte excessive copying after reaching 1Gb
> -----------------------------------------------------------------
>
> Key: IGNITE-9544
> URL: https://issues.apache.org/jira/browse/IGNITE-9544
> Project: Ignite
> Issue Type: Improvement
> Reporter: Alexand Polyakov
> Priority: Major
>
> need correction
> org.apache.ignite.internal.binary.streams.BinaryAbstractOutputStream#capacity
> {code:java}
> if (newCap < reqCap)
> newCap=Integer.MAX_VALUE - 8;
> {code}
> see java.util.ArrayList#MAX_ARRAY_SIZE
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)