<html><body>I’m getting<BR>
<BR>
May 11 22:54:15 sbc opensips[11302]: May 11 22:54:15 [11338] INFO:proto_tls:tls_connect: New TLS connection to 52.114.75.24:5061 established<BR>
May 11 22:54:15 sbc opensips[11302]: May 11 22:54:15 [11338] ERROR:core:fm_malloc: not enough free pkg memory (524933432 bytes left, need 18446744071987018544), please increase the "-M" command line parameter!<BR>
May 11 22:54:15 sbc opensips[11302]: May 11 22:54:15 [11338] INFO:core:fm_malloc: attempting defragmentation...<BR>
May 11 22:54:15 sbc opensips[11302]: May 11 22:54:15 [11338] INFO:core:fm_malloc: unable to alloc a big enough fragment!<BR>
May 11 22:54:15 sbc opensips[11302]: May 11 22:54:15 [11338] ERROR:proto_hep:add_hep_payload: no more pkg mem!<BR>
<BR>
It doesn’t seem to matter what I put in the /lib/systemd/system/opensips.service<BR>
Environment=P_MEMORY=512 S_MEMORY=2048<BR>
<BR>
I’ve tried P_MEMORY = 32, 64, 128, 256 and now 512.<BR>
<BR>
I’ve tried rebooting but no difference<BR>
<BR>
How do I work out what’s eating the memory?<BR>
<BR>
James<BR>
    <br>
    <p style="font-family: Open Sans,sans-serif;">
    <b><span style="font-family: Open Sans,sans-serif; font-size:10.0pt;color:#888888">James Hogbin</span></b>
    <b><span style="font-family: Open Sans,sans-serif;font-size:8.0pt;color:#888888;"><br>Director</span></b>
    </p>
    <table border="0" cellspacing="0" cellpadding="0"><tr><td><a href="http://ip-sentinel.com"><IMG border="0" alt="IP Sentinel Logo" src="cid:120051200064600439@uk-mta-231.uk.mimecast.lan" ></A></td></tr></table>
                <span style="font-family: Open Sans,sans-serif;font-size:8.0pt;color:#222222;"><br>t. <a href="tel:+442030114150" target="_blank">+44 (0)20 3011 4150</a><br></span><span style="font-family: Open Sans,sans-serif;font-size:8.0pt;color:#222222;">m. +44 7786910895<br></span><span style="font-family: Open Sans,sans-serif;font-size:8.0pt;color:#222222">w. <a href="https://www.ip-sentinel.com/" target="_blank">https://www.ip-sentinel.com</a><br></span><table>
                <tbody><tr>
                        </tr>
                <tr>
                        
                </tr>
                <tr>
                        
                </tr>
                <tr>
                        
                </tr>
    </tbody></table>
    <br>
    
    <p style="font-family: Open Sans, Arial, sans-serif;padding: 5px;background:#D5EAFF">
    <span style="font-family: Open Sans,sans-serif;font-size:8.0pt;color:red">IP Sentinel Disclaimer <br></span>
    <span style="font-family: Open Sans,sans-serif;font-size:6.0pt;color:black">The information contained in this e-mail, and any attachment, is confidential and is intended solely for the use of the intended recipient. Access, copying or re-use of the e-mail or any attachment, or any information contained therein, by any other person is not authorized. Unintended recipients are prohibited from taking action on the basis of information in this e-mail. If you are not the intended recipient or have received this email in error, please notify the sender immediately by return email and delete the email from your computer.
E-mail messages may contain computer viruses or other defects, may not be accurately replicated on other systems, or may be intercepted, deleted or interfered with without the knowledge of the sender or the intended recipient. We do not guarantee that either are virus-free and accept no liability for any damage sustained as a result of computer viruses or other defects. 
. IP Sentinel Ltd is a limited company registered in England and Wales under Registered Number 08648097. Registered Office: Newnhams Wood, Horsted Keynes, West Sussex, RH17 7BT. </span>
    </p><span style="font-size:1.0pt;color:white">Q3dhRSrm_disclaimer</span>
</body></html>