How do you check memory for multiple algorithms?
Phú Võ Lê Thanh
Date: February 14, 2022 01:48AM
Hi there researchers and developer,
I'm writing my first paper on novel data-mining algorithms, but I have this problem with checking memory.
I use SPMF's MemoryLogger, my code is something like:
I would like to check the three algo's memory at once, but it seems that the memory just adds up for some reasons, for example if i run above code I have something like this:
algo1.memory = 126 mb
algo2.memory = 327 mb
algo3.memory = 613 mb
Then if I run each algorithm separately one by one I have this:
algo1.memory = 127 mb
algo2.memory = 168 mb
algo3.memory = 13 mb
What causes this difference? And how do I fix it?
Thanks in advance.