But the memory reusing is not an appropriate behavior for me cause for also run a detectron2 and it achieves 5Gb of memory and my server crashes.
Can I avoid the behavior (reusing) and with every run to use only minimal amount of memory like it was in  the first example in my previous reply?