I am running a JBoss 2.7.1 as a producer over WSRP. Under load I experience a memory issue with the below details:
"One instance of "org.jboss.wsf.stack.jbws.EndpointServlet" loaded by "org.jboss.mx.loading.UnifiedClassLoader3 @ 0xcbfd5bc0" occupies 124,724,728 (25.20%) bytes. The memory is accumulated in one instance of "java.util.LinkedList$Entry" loaded by "<system class loader>".
org.jboss.mx.loading.UnifiedClassLoader3 @ 0xcbfd5bc0
The Tenured generation is not cleaned up due to this issue and the memory consumption is quite linear in growth and unstopable.
Below is the shortest path to the acumulation point
running on JDK 1.6
JBoss Portal 2.7.1 (as a WSRP producer) with JBoss AS 4.2.3 (with jbossws-native-3.1.0 - default)
cumulated_objects.jpg 33.7 K
Thank you for your reply.
We are using JBoss portal 2.7.1 which is based on JBoss AS 4.2.3, and the EndpointServlet from the jbossws-native-core is similar with the revision from 8819 from SVN:
I have looked in the JIRA for some coments related to the fixes that were done against the Endpoint but I wasn't able to find some coments to confirm that the issue we have is fixed by one of the next revisions. Could you please clarify if that was a known issue on that part ?
The object which I found in the memory is the "preDestroyRegistry" which holds the LinkedList and should be cleanup by the "destroy()", which aparently is not cleaning up, or it is not trigered.
You need to download the source code and compile it.
Here you find the tags for the releases;
Here you find an overview of the repository: