[Dune] Memory leak, valgrind check, Dune

Martin Nolte nolte at mathematik.uni-freiburg.de
Thu Oct 8 14:05:20 CEST 2009


Hi Oliver,

to my knowledge the outcome was simple: If somebody is able to build the 
memory allocation of SmallObject using the PoolAllocator, he may feel free to 
do so.

Just a word of warning: The Mappings of the GenericGeometry are SmallObjects. 
Any errors in the memory allocation will have effects in dune-grid (at least 
in the reference element). And I'm still not convinced that the PoolAllocator 
really works...

Martin

Oliver Sander wrote:
> BTW: I faintly remember a discussion about the respective benefits of 
> PoolAllocator and
> SmallObjectPool.  What was the outcome? Is there a good reason to 
> have/debug both?
> 
> --
> Oliver
> 
> Oswald Benedikt schrieb:
>> Hi Dune, I just sent a mail concerning all the details of our memory leak problem to the
>> mailing list but it appears to be stuck somewher waiting for 'Moderator Approval' ?
>>
>> In particular, I sent the complete valgrind outputs for both Mac OS X and Linux.
>>
>> Have a revolutionary day, Benedikt
>>
>>
>>
>> ------------------------------------------------------------------------------------------------------------------
>> Benedikt Oswald, Dr. sc. techn., dipl. El. Ing. ETH, www.psi.ch, Computational Accelerator Scientist
>> Paul Scherrer  Institute (PSI), CH-5232 Villigen, Suisse, benedikt.oswald at psi.ch, +41(0)56 310 32 12
>> "Passion is required for any great work, and for the Revolution passion and audacity are required in big doses.", 
>> Ernesto 'Che' Guevara, Letter to his parents.
>> http://maxwell.psi.ch/amaswiki/index.php/User:BenediktOswald 
>> ------------------------------------------------------------------------------------------------------------------
>>
>>
>>
>> _______________________________________________
>> Dune mailing list
>> Dune at dune-project.org
>> http://lists.dune-project.org/mailman/listinfo/dune
>>   
> 
> 

-- 
Martin Nolte <nolte at mathematik.uni-freiburg.de>

Universität Freiburg                                   phone: +49-761-203-5642
Abteilung für angewandte Mathematik                    fax:   +49-761-203-5632
Hermann-Herder-Straße 10
79104 Freiburg, Germany




More information about the Dune mailing list