# Crash because of RAM

**URL:** https://discourse.paraview.org/t/crash-because-of-ram/16138
**Category:** ParaView Support
**Tags:** python
**Created:** [February 10, 2025, 3:01pm UTC](https://discourse.paraview.org/t/crash-because-of-ram/16138 "2025-02-10T15:01:54Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Epichado](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/e/e19adc/32.png) [@Epichado](https://discourse.paraview.org/u/Epichado)
#### Post date: [February 10, 2025, 3:01pm UTC](https://discourse.paraview.org/t/crash-because-of-ram/16138/1 "2025-02-10T15:01:54Z")

</div>

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

```auto
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 !

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [February 11, 2025, 8:33am UTC](https://discourse.paraview.org/t/crash-because-of-ram/16138/2 "2025-02-11T08:33:54Z")

</div>

HI @Epichado , and welcome!

> [@Epichado](#):
>
> but it is very slow, and before it ended

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.
