<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 19 Jul 2018, at 11:58, Miguel Zilhão <<a href="mailto:miguel.zilhao.nogueira@tecnico.ulisboa.pt" class="">miguel.zilhao.nogueira@tecnico.ulisboa.pt</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">hi all,<br class=""><br class="">i've noticed that my runs (using latest ET release) with CarpetRegrid2 exhibit a significant <br class="">increase in memory during runtime. this seems to happen immediately after some non-trivial <br class="">regridding operation is done. the increase is steady, and at some point i run out of memory and the <br class="">simulation crashes. this is happening both on my workstation (running Ubuntu 18.04) as well as our <br class="">local cluster (running Debian 9). i was wondering if someone has seen something like this?<br class=""><br class="">i have not seen this happen for simulations without CarpetRegrid2. i show below some relevant <br class="">portions of the stdout file for a standard inspiral BH run (note the last column--maxrss_mb):<br class=""><br class=""></div></div></blockquote><div><br class=""></div><div>This could be caused by memory fragmentation due to all the freeing and mallocing that happens during regridding when the sizes of the grids change. Can you try using tcmalloc or jemalloc instead of glibc malloc and reporting back? One workaround could be to run shorter simulations (i.e. set a walltime of 12 h instead of 24 h).</div><div><br class=""></div></div><div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">-- <br class="">Ian Hinder<br class=""><a href="https://ianhinder.net" class="">https://ianhinder.net</a><br class=""></div></div>
</div>
<br class=""></body></html>