Page 1 of 1

Memory usage

Posted: Tue Nov 06, 2018 5:11 pm
by bachlinh
Hello everyone,
Do you guys have any ideas about why the memory used by code saturne increases after each iteration ?
I've checked all BFT_malloc/BFT_free and malloc/free in my code and i didn't find any mistake.
Thank you,

Re: Memory usage

Posted: Tue Nov 06, 2018 6:37 pm
by Luciano Garelli
Hello,

Are you using user functions/subroutines in your simulation? Did you check the memory without the user functions? I have run some test using Valgrind(Massif) and the memory is not increasing during the simulation.

Also you can use Valgrind to try to check any memory leak.

Regards,

Luciano

Re: Memory usage

Posted: Wed Nov 07, 2018 7:52 am
by bachlinh
Yes, i have some user function.
Thank you, i will do the test using Valgrind.