Animation Memory

Doing an animation in python memory use increase at every step. Is there any way to avoid this or an explanation of why this happens.
1 year ago someone asked something similar ParaView Memory Leak? but no answer.

Problem solved, like that the guilty is simple.SaveAnimation
Using simple.SaveScreenshot for each camera position doesn’t increase the memory for ever