There is a breaking change in this PR. The behavior has not changed but one method needs more parameters. Data generated by the previous version is compatible with this version.
We improved the use of memory to avoid memory spikes and pod restarts in Octopus server.
For each chunk of data that we need to copy, instead of allocating a new array of bytes we will re-use the existing buffer.
Memory allocated before 102 GB. After 8 MB. See details below.
There is a breaking change in this PR. The behavior has not changed but one method needs more parameters. Data generated by the previous version is compatible with this version.
We improved the use of memory to avoid memory spikes and pod restarts in Octopus server.
For each chunk of data that we need to copy, instead of allocating a new array of bytes we will re-use the existing buffer.
Memory allocated before 102 GB. After 8 MB. See details below.
[sc-25897]
Before
After