RAM blow out when looping vtkRenderWindow render

Hi,

I’m having memory issues when I loop vtkRenderWindow->Render(). Each render window consists of different Actors. So in the loop, I create the polydata, mapper, actors, renderer and render window.
When I call the render command through the RenderWindow object in the loop, I see the RAM utilization going up. If the loop is big, the RAM blows out. Is there a memory leak issue for the render process? I have used VTK6.3 as well as VTK8.3 and found the same issue.

Regards,
Philip.