<br><br><div class="gmail_quote">On Mon, May 2, 2011 at 3:29 PM, Matthias Radestock <span dir="ltr">&lt;<a href="mailto:matthias@rabbitmq.com">matthias@rabbitmq.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im">Gavin,<br>
<br>
Gavin M. Roy wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
On Monday, May 2, 2011 at 2:48 PM, Matthias Radestock wrote:<br>
</div><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The above graph shows system memory usage. It is perfectly normal for a<br>
non-idle linux system to gradually fill up all the memory with cached<br>
files.<br>
</blockquote>
Which I expect in disk buffers in that graph. The inactive memory is what threw me, going back and re-reading up on it, this is memory that previously been allocated in vm that can be reclaimed for other use, correct?<br>


</div></blockquote>
<br>
I have no idea. Consult your resident Linux expert ;)</blockquote><div><br></div><div>So some more color, I decided to dive deeper into this to see what I could find. The short version is I jumped into erl using -remsh and ran erlang:garbage_collect(). and saw an immediate drop in that inactive memory.</div>

<div><br></div><div>I am using R14B01. I am reluctant to let that inactivity hit the upper bounds of my ram, but at the same time, I want to see if the erlang vm is just allocating until it can&#39;t and then will reclaim usage.</div>

<div><br></div><div>I did however with a certain level of clarity find that by issuing the command in the erlang attached process, inactive memory held in the linux kernel dropped by 83%.</div><div><br></div><div>Commands run:</div>

<div><br></div><div>$ erl -sname temp -remsh rabbit@rabbit03</div><div>1&gt; erlang:garbage_collect().</div><div>true</div><div>�</div></div>May not be the bunny, but it seems to the vm.<div><br></div><div>Gavin</div>