How to prevent disk from being full?

How can I prevent my disk from being full on ny glitch project?