Note that if you are crashing SAS then it is not cleaning up temporary space properly and that means that you have less when you start. There can be a lot of "stuff" there.
You can run this code to find your current Work library location and delete the other temporary libraries using operating system tools to help get rid of those files.
proc options option=work;
run;
On my system today that shows this result in the LOG:
WORK=C:\Users\Owner\AppData\Local\Temp\SAS Temporary
Files\_TD5172_DESKTOP-C36D7SF_
So I would look in C:\Users\Owner\AppData\Local\Temp\SAS Temporary Files and delete any of the other folders and their contents that start with _TD to get rid of left over files.
I would also check to see how much space you have on your drive. If you are running out space frequently I would suspect something else is using a lot of space and may be time to delete some of those cute kitten videos (or what ever is using the space).
Note that not just data sets but the displayed output from the results window is written somewhere, usually the work library. So anything that generates lots of output such as proc freq on a large data set with lots of values can eat up a lot of space.
What exactly are you attempting to do, as in code, when you fill up your drive?