Ivan Bessonov created IGNITE-27576:
--------------------------------------

             Summary: DeltaFilePageStoreIoHeader#toByteBuffer uses too much 
memory
                 Key: IGNITE-27576
                 URL: https://issues.apache.org/jira/browse/IGNITE-27576
             Project: Ignite
          Issue Type: Improvement
          Components: storage engines ai3
            Reporter: Ivan Bessonov


The header can occupy multiple pages. Usually there's already a pre-allocated 
thread-local direct buffer with the size of a single page. We should use it if 
we're in a checkpoint thread.

If we're not, then we should allocate a new buffer (not make it thread-local). 
This condition is extremely rare, so allocations won't be an issue.



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

Reply via email to