<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr">On Sun, Dec 30, 2018, 10:03 PM Amit Agarwal <<a href="mailto:amit@amit-agarwal.co.in">amit@amit-agarwal.co.in</a> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<p>Hi All,</p>
<p><br></p>
<p>I am trying to understand memory fragmentation and how to understand and/or analyze the same.</p>
<p>Is there some detailed documentation on pagetypeinfo and buddyinfo files present in the proc directory? Am I looking at right files to understand if the memory is fragmented.</p>
<p><br></p>
<p>Problem Description:</p>
<p>One of the applications does a few 200-300Mb calloc's during start-up. On one of the production servers, the application does not start up although there should be enough RAM available for application to start. I am suspecting that this is because of fragmentation and would like to confirm the same.</p></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">How do you know it is because of memory ? If you have sufficient RAM then it should be able to allocate. Does you application fail with ENOMEM ?</div><div dir="auto"><br></div><div dir="auto">Without knowing the error code from application it's hard to suggest anything.</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<div>-- <br>
<div class="m_-8541251558628996521pre" style="margin:0;padding:0;font-family:monospace">Thanks,<br> -aka</div>
</div>
</div>
_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org" target="_blank" rel="noreferrer">Kernelnewbies@kernelnewbies.org</a><br>
<a href="https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" rel="noreferrer noreferrer" target="_blank">https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
</blockquote></div></div></div>