<p>This definitely seems to help, after 145 connections, all pids are using ~500000 bytes where as they were over 1500000 before - also sending sigusr1 to get memory status shows no ws handshake memory usage <a href="https://gist.github.com/etamme/7470c3e677bd2d947089">https://gist.github.com/etamme/7470c3e677bd2d947089</a></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/issues/743#issuecomment-170940639">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOcifCEpZcubQEXiIjyD5ZcdKFYC3f1ks5pZQ17gaJpZM4G_AQe.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/OpenSIPS/opensips/issues/743#issuecomment-170940639"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>