Crash because of RAM

Hello everyone,
I have to use pvpython for a work in my company, so it’s my first time using it

i have this programm to export my data

from paraview.simple import *
import os

a1 = GetActiveSource()

plotOverLine1 = PlotOverLine(Input=a1)

plotOverLine1.Point1 = [0.1988999992609024, 0.0, 0.0023561944253742695]
plotOverLine1.Point2 = [0.19990000128746033, 0.02879999950528145, 0.0023561944253742695]

animationScene1 = GetAnimationScene()

time_steps = animationScene1.TimeKeeper.TimestepValues

output_dir = "***/csv/"

for time in time_steps:
    animationScene1.AnimationTime = time
    plotOverLine1.UpdatePipeline(time)

    file_path = os.path.join(output_dir, f"{time}.csv")
    print(file_path)

    SaveData(file_path, proxy=plotOverLine1)

print("All data have been saved in:", output_dir)

Everything works, but it is very slow, and before it ended, the programm made my computer crash

I think i may use my ram and never emptying it, is it possible to do ?

Thank u !

HI @Epichado , and welcome!

How big is your input ? What kind of data is it ?

I think i may use my ram and never emptying it

Monitor your RAM while your script is running to ensure that.