[Users] memory leak in Carpet?

ian.hinder at aei.mpg.de ian.hinder at aei.mpg.de
Thu Aug 2 04:14:56 CDT 2018

> On 2 Aug 2018, at 08:45, Miguel Zilhão <miguel.zilhao.nogueira at tecnico.ulisboa.pt> wrote:
> hi all,
> some more information regarding this. i've ran a simulation based on the provided parfile qc0-mclachlan.par. i'm attaching a crude plot with the memory consumption, as reported by systemstatistics-process_memory and carpet-memory_procs, as function of the iteration.
> the jump at iteration ~2048 corresponds to the time where some non-trivial regridding occurred. if i'm interpreting the plot correctly, while the total memory consumption of the system (as reported by systemstatistics) increases, the memory that carpet reports to be using is actually decreasing. is this a sign that something is probably leaking memory?
> in case it's useful, i'm also attaching the exact parameter file i've used.

Can you do this with tcmalloc (and activate the tcmalloc thorn that I pointed you to), and plot the variables tcmalloc::


This will let us know whether there are actual memory allocations which are being made and not freed, or whether the rss is increasing due to fragmentation.

Ian Hinder

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/users/attachments/20180802/89183d80/attachment.html 

More information about the Users mailing list