[
https://issues.apache.org/jira/browse/IGNITE-23514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergey Korotkov updated IGNITE-23514:
-------------------------------------
Description:
In some cases it's not needed to create a copy of byte array created via the
BinaryWriterExImpl.
Say, it's not needed in the Thin JDBC driver before sending of the outcoming
message. See the JdbcThinTcpIo::sendRequestRaw(). It's sufficient to use just
the underlining array as such in this case which would reduce the heap memory
usage.
***
Other such places should be considered and fixed if needed.
was:
In some cases it's not needed to create a copy of byte array created via the
BinaryWriterExImpl.
Say, it's not needed in the Thin JDBC driver before sending of the outcoming
message. See the JdbcThinTcpIo::sendRequestRaw(). It's sufficient to use just
the underlining array as sych in this case which reduce the heap memory usage.
***
Other such places should be considered and fixed if needed.
> Remove excessive array copy getting data from BinaryWriterExImpl
> ----------------------------------------------------------------
>
> Key: IGNITE-23514
> URL: https://issues.apache.org/jira/browse/IGNITE-23514
> Project: Ignite
> Issue Type: Task
> Reporter: Sergey Korotkov
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> In some cases it's not needed to create a copy of byte array created via the
> BinaryWriterExImpl.
> Say, it's not needed in the Thin JDBC driver before sending of the outcoming
> message. See the JdbcThinTcpIo::sendRequestRaw(). It's sufficient to use
> just the underlining array as such in this case which would reduce the heap
> memory usage.
> ***
> Other such places should be considered and fixed if needed.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)