It seems detached connection NEVER become attached to thread other it was born. Because borrow method always return object related to caller thread. I.e. all detached connection borned in joined thread are not collectable forewer. So possible reproduce scenario: start separate thread. Run in this thread some logic that creates detached connection, finish and join thread. Remove link to thread. Repeat. Andrey. От: Andrey Davydov As I see in heapDump: There are 29000+ connections stored here: this - value: org.apache.ignite.internal.processors.query.h2.H2ConnectionWrapper #1 <- key - class: java.util.concurrent.ConcurrentHashMap$Node, value: org.apache.ignite.internal.processors.query.h2.H2ConnectionWrapper #1 <- [41919] - class: java.util.concurrent.ConcurrentHashMap$Node[], value: java.util.concurrent.ConcurrentHashMap$Node #32575 <- table - class: java.util.concurrent.ConcurrentHashMap, value: java.util.concurrent.ConcurrentHashMap$Node[] #11010 <- detachedConns - class: org.apache.ignite.internal.processors.query.h2.ConnectionManager, value: java.util.concurrent.ConcurrentHashMap #2109 But there are only 28 TCP connections in system. I have already report some way for memory leaks in ConnectionManager in other mail thread, this is one more way. It seem that more problems is in ConnectionManager class. Andrey. От: Evgenii Zhuravlev Hi, I tried to reproduce the same problem using the provided information, but without success. In the log I see that there are operations running on the cluster that were not described in pseudo code, for example, SQL queries withh count. Are you running something else? Can you provide full reproducer or try to run all operations by one to find the operation, which can cause this behaviour? Evgenii ср, 18 мар. 2020 г. в 07:07, dbutkovic <dren.butko...@gmail.com>: Hi Alex, |
- Ignite 2.8.0. Heap mem issue dbutkovic
- Re: Ignite 2.8.0. Heap mem issue Evgenii Zhuravlev
- Re: Ignite 2.8.0. Heap mem issue dbutkovic
- Re: Ignite 2.8.0. Heap mem issue akorensh
- Re: Ignite 2.8.0. Heap mem issue dbutkovic
- Re: Ignite 2.8.0. Heap mem issue Evgenii Zhuravlev
- RE: Re: Ignite 2.8.0. Heap mem issue Andrey Davydov
- RE: Re: Ignite 2.8.0. Heap mem issue dbutkovic
- RE: RE: Re: Ignite 2.8.0. Heap mem issue Andrey Davydov