I am making some avi videos with Mathematica using the Export function. I create graphics and place them in a list pl. Then I use Export["file.avi",pl] to export the graphics in a raw avi file. The problem is that this is memory consuming. So I split the videos into several parts in order to not letting pl getting to big. However, this did not help at all. This is why I tested the algorithm without Export: no memory accumulation occured. So the problem must be Export. It stocks the files in the memory even when the export is finish. So if you export a couple of files, they all remain in the memory. How can I clear the memory? By the way, shuting down the kernel or clearing some variables does not help. In any case, all variables are reinitalized after each video part so this cannot be the problem.