java - Why StatefulSessionComponent cause a memory leak? -


because of java heap space error did heap dump of java ee 7 program running on wildfly 9 server. used eclipse memory analyser analyse dump. eclipse memory analyser reveals 2 following problems same:

one instance of "org.jboss.as.ejb3.component.stateful.statefulsessioncomponent" loaded "org.jboss.modules.moduleclassloader @ 0xe0130378" occupies 168 975 304 (36,60%) bytes. memory accumulated in 1 instance of "java.util.concurrent.concurrenthashmap$node[]" loaded "".

one instance of "org.jboss.as.ejb3.component.stateful.statefulsessioncomponent" loaded "org.jboss.modules.moduleclassloader @ 0xe0130378" occupies 155 775 312 (33,74%) bytes. memory accumulated in 1 instance of "java.util.concurrent.concurrenthashmap$node[]" loaded "".

i have few stateful ejbs on program. mean ejbs never garbage collected ? idea how solve problem ?

edit

here capture of dominator tree: dominator tree seems class java.util.concurrent.concurrenthashmap$node cause.


Comments

Popular posts from this blog

scala - 'wrong top statement declaration' when using slick in IntelliJ -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

PySide and Qt Properties: Connecting signals from Python to QML -