MadMax Plotter Keeps Breaking

I have 380 Gb of RAM with a 64 core CPU. I am trying to run the entire plotter off of a RAM disk. It works very well for the first plot, completing it in about 20 minutes. However, once it begins the seconds task the first plot and the temp files associated with that first plot are still in the ramdisk taking up all the space… meaning it runs out of RAM and stops the plotting. Apparently, they only get deleted when the entire plot has been moved to the final directory which doesn’t help. Is there a way to get around this? It takes 12 minutes to copy the plot from the RAM disk to the HDD I am storing them on. Can someone possibly share a script that would help with this? I am running Ubuntu 20.04 if that makes a difference.

Dude if you have that fast of a plotting rig I’d slap a couple NVMEs in there and have those for your temp drives…you could easily do like 70-75 plots a day that way and not have to worry about your ram bottlenecking the process