<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    org.jboss.wsf.stack.jbws.EndpointServlet - memory issue
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/bfp">Bogdan Ungureanu</a> in <i>JBoss Portal</i> - <a href="http://community.jboss.org/message/624559#624559">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>I am running a JBoss 2.7.1 as a producer over WSRP. Under load I experience a memory issue with the below details:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>"<span style="font-size: 8pt;"><em>One instance of <strong>"org.jboss.wsf.stack.jbws.EndpointServlet"</strong> loaded by <strong>"org.jboss.mx.loading.UnifiedClassLoader3 @ 0xcbfd5bc0"</strong> occupies <strong>124,724,728 (25.20%)</strong> bytes. The memory is accumulated in one instance of <strong>"java.util.LinkedList$Entry"</strong> loaded by <strong>"&lt;system class loader&gt;"</strong>.</em></span></p><p><span style="font-size: 8pt;"><em><strong>Keywords</strong></em></span></p><p><span style="font-size: 8pt;"><em>org.jboss.wsf.stack.jbws.EndpointServlet</em></span></p><p><span style="font-size: 8pt;"><em>org.jboss.mx.loading.UnifiedClassLoader3 @ 0xcbfd5bc0</em></span></p><p><span style="font-size: 8pt;"><em>java.util.LinkedList$Entry</em></span>"</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>The Tenured generation is not cleaned up due to this issue and the memory consumption is quite linear in growth and unstopable. </p><p>Below is the shortest path to the acumulation point </p><h5></h5><table class="result"><tbody class="tree"><tr><td style="background-color: #eee;"><span></span> <ul><li><a class="jive-link-anchor-small">java.util.LinkedList$Entry @ 0xd71eb970</a></li></ul></td><td align="right" style="background-color: #eee;">24</td><td align="right" style="background-color: #eee;">124,724,656</td></tr><tr><td style="background-color: #fff;"><span> \ </span><span></span> <ul><li><strong>header</strong> <a class="jive-link-anchor-small">java.util.LinkedList @ 0xd71eb958</a></li></ul></td><td align="right" style="background-color: #fff;">24</td><td align="right" style="background-color: #fff;">124,724,680</td></tr><tr><td style="background-color: #eee;"><span> . </span><span> \ </span><span></span> <ul><li><strong>preDestroyRegistry</strong> <a class="jive-link-anchor-small">org.jboss.wsf.stack.jbws.EndpointServlet @ 0xd71eb930</a></li></ul></td><td align="right" style="background-color: #eee;">40</td><td align="right" style="background-color: #eee;">124,724,728</td></tr><tr class="selected"><td style=";"><span> . </span><span> . </span><span> + </span><span></span> <ul><li><strong>&lt;Java Local&gt;</strong> <a class="jive-link-anchor-small">java.lang.Thread @ 0xdba14690 ajp-0.0.0.0-8010-28</a> <strong>Thread</strong></li></ul></td><td align="right" style=";">112</td><td align="right" style=";">307,552</td></tr><tr><td style="background-color: #eee;"><span> . </span><span> . </span><span> + </span><span></span> <ul><li><strong>instance</strong> <a class="jive-link-anchor-small">org.apache.catalina.core.StandardWrapper @ 0xcf1b5d40</a> &#187;</li></ul></td><td align="right" style="background-color: #eee;">216</td><td align="right" style="background-color: #eee;">1,608</td></tr><tr><td style="background-color: #fff;"><span> . </span><span> . </span><span> + </span><span></span> <ul><li><strong>servlet</strong> <a class="jive-link-anchor-small">org.apache.catalina.core.ApplicationFilterChain @ 0xdb7dd370</a> &#187;</li></ul></td><td align="right" style="background-color: #fff;">32</td><td align="right" style="background-color: #fff;">88</td></tr><tr class="totals"><td style=";"><span> . </span><span> . </span><span> \ </span><span></span> <ul><li>Total: 3 entries</li></ul></td><td align="right" style=";"><br/></td></tr></tbody></table><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Regards,</p><p>@Bob</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/624559#624559">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Portal at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2011">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>