[ 
https://issues.apache.org/jira/browse/IGNITE-18584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ivan Daschinsky updated IGNITE-18584:
-------------------------------------
    Affects Version/s: 2.14

> Possible memory errors and corruptions because of insufficient size of 
> compression buffer.
> ------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-18584
>                 URL: https://issues.apache.org/jira/browse/IGNITE-18584
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: 2.14
>            Reporter: Ivan Daschinsky
>            Priority: Major
>
> {{org.apache.ignite.internal.processors.compress.CompressionProcessorImpl#compressBuf}}
>  is initialized with 1024 extra space, that may be not enough for compressing.
> I.e. snappy requires 2762 extra space for 16K pages.
> The overhead must be calculated during the initialization with help of 
> specialized methods, such as 
> {{Snappy#maxCompressedLength}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to