ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Scherbakov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-4655) Reduce heap usage on exchange.
Date Fri, 03 Feb 2017 14:46:51 GMT
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

View raw message