[
https://issues.apache.org/jira/browse/IGNITE-9544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16612143#comment-16612143
]
ASF GitHub Bot commented on IGNITE-9544:
----------------------------------------
GitHub user a-polyakov opened a pull request:
https://github.com/apache/ignite/pull/4737
IGNITE-9544 BinaryOutputStream#writeByte excessive copying after reaching
1Gb
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/a-polyakov/ignite IGNITE-9544
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/4737.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #4737
----
commit 0b73c53f1a11698fbfb73dee64725f24391cba5f
Author: a-polyakov <polyakov.alexandr.alexandrovich@...>
Date: 2018-09-12T13:45:27Z
IGNITE-9544 BinaryOutputStream#writeByte excessive copying after reaching
1Gb
Signed-off-by: a-polyakov <[email protected]>
----
> 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
> Assignee: Alexand Polyakov
> Priority: Major
>
> need correction
> org.apache.ignite.internal.binary.streams.BinaryAbstractOutputStream#capacity
> {code:java}
> if (newCap < 0)
> newCap=Integer.MAX_VALUE - 8;
> {code}
> see java.util.ArrayList#MAX_ARRAY_SIZE
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)