You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Alexei Scherbakov (JIRA)" <ji...@apache.org> on 2017/02/03 14:46:51 UTC

[jira] [Created] (IGNITE-4655) Reduce heap usage on exchange.

Alexei Scherbakov created IGNITE-4655:
-----------------------------------------

             Summary: Reduce heap usage on exchange.
                 Key: IGNITE-4655
                 URL: https://issues.apache.org/jira/browse/IGNITE-4655
             Project: Ignite
          Issue Type: Bug
          Components: cache
    Affects Versions: 1.6
            Reporter: Alexei Scherbakov
            Priority: Critical
             Fix For: 1.9


Recently I've debugged heap overgrowth during an exchange on configuration with large amount of caches.

I found several problems:

* GridDhtPartitionsExchangeFuture.msgs field is not cleared after exchange. Easy fix.

* GridDhtPartitionsSingleMessage.partCntrsBytes is serialized as object and takes large amount of heap.Could be fixed by implementing more efficient serialization.

* BinaryMemoryAllocatorChunk heap buffer is not shrinked during exchange due to large message size. WIth 128 threads in sys pool it may take up to 7G of heap on exchange process(I observer 52M message size). This could be  fixed by reducing max exchange message size.




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)