[Dune] memory leak?

Markus Blatt markus at dr-blatt.de
Mon Apr 23 10:05:16 CEST 2012


Hi,

On Sun, Apr 22, 2012 at 10:23:42PM +0200, Matteo Semplice wrote:
> I was seeing a memory leak in one of my codes and I reduced it to
> this sample code. I get a similar output if I replace center() with
> volume().
> 
> I can't believe there's a leak in calling any method from geometry(),
> but I can't see what I am doing wrong... Any clue?
> 

you are not doing anything. Indeed, there was a memory leak in
genericreferenceelements.hh (the mappings for codim 0 never got
destroyed.)

I fixed in the trunk and in th 2.1 release branch. Therefore the fix
will be contained in the next release.

Thanks a lot for the hint!

Cheers,

Markus
-- 
Do you need more support with DUNE or HPC in general? 

Dr. Markus Blatt - HPC-Simulation-Software & Services http://www.dr-blatt.de
Hans-Bunte-Str. 8-10, 69123 Heidelberg, Germany
Tel.: +49 (0) 160 97590858  Fax: +49 (0)322 1108991658 




More information about the Dune mailing list