I am migrating from JBoss as 5 using metro ws to JBoss EAP 6 with JAX-WS running on JBossws-cxf stack. Whn comparing the memory performance, I have seen that there is a huge difference between the memory allocated by metro and the allocated memory by JBoss.
Metro is jsut createing a seiStub wich didn't retain too much memory. Using JBossws-3.4, the memory retained by a port is about 2,871,416. This retained memory is reduced to 1,539,704 in JBoss eap 6.
I'am using a port pool in my application which causes the allocation of too much memory.
Why all these difference in the allocated memory between metro and JBoss.
Is there any solution to reduce this memory consumption.