This content has been marked as final. Show 2 replies
Tried using DataSourceDelegator to create a weaker reference from application to DataSource but nothing changed.
<mbean code="org.jboss.varia.dsdelegator.DataSourceDelegator" name="jboss.varia:name=DataSourceDelegator"> <depends>jboss.jca:service=DataSourceBinding,name=AplicacoesApoioDSTeste</depends> <attribute name="TargetName">java:AplicacoesApoioDSTeste</attribute> <attribute name="BindName">java:AplicacoesApoioDS</attribute> </mbean>
Still having same problem. Jboss isn't releasing memory. I used JConsole to monitor PermGen and have the following image.
Before deploy JBoss was using about 11.200k, after deploy memory used was 17.890k. Undeploy and garbage collection released almost anything from server.