<div dir="ltr">Thanks for the quick reply. <div><br></div><div>You're right. When I tried to boil it down to a minimal example, I incorrectly attributed my original problem to linked structures. This is because if I create a large tuple instead of a linked structure in my example, then the OS visible size does go down and up in both Linux and OS/X.<div><br></div></div><div>Thanks again,</div><div>Christian</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 17 February 2015 at 13:10, Armin Rigo <span dir="ltr"><<a href="mailto:arigo@tunes.org" target="_blank">arigo@tunes.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Christian,<br>
<br>
On 15 February 2015 at 21:36, Christian Walder<br>
<span class=""><<a href="mailto:walderchristian@gmail.com">walderchristian@gmail.com</a>> wrote:<br>
> I seem to be running into a problem with freeing memory.<br>
<br>
</span>The problem you have, as I understand it, is that the OS-visible size<br>
of the process goes up but not down.  This is expected.  I don't<br>
really know why OS/X versus Linux makes any difference.<br>
<br>
Someone should collect a few links to existing answers into a FAQ entry...<br>
<br>
<br>
A bientôt,<br>
<br>
Armin<br>
</blockquote></div><br></div>