Memory usage

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
bachlinh
Posts: 28
Joined: Mon Oct 02, 2017 9:31 am

Memory usage

Post 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,
Luciano Garelli
Posts: 280
Joined: Fri Dec 04, 2015 1:42 pm

Re: Memory usage

Post 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
bachlinh
Posts: 28
Joined: Mon Oct 02, 2017 9:31 am

Re: Memory usage

Post by bachlinh »

Yes, i have some user function.
Thank you, i will do the test using Valgrind.
Post Reply