[ https://issues.apache.org/jira/browse/IGNITE-4655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexei Scherbakov resolved IGNITE-4655. --------------------------------------- Resolution: Won't Fix Already fixed in master. > 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)