I ran some SAS code overnight, but when I checked on it the next morning everything had been paused/interrupted with this pop-up:
My understanding is this gets caused by trying to write to a folder that doesn't have enough space available (e.g. the work directory). However, I checked the hard drive and there was still plenty of space available. Additionally, I tried clicking "Retry" without changing anything and it continued just fine...
I thought it was possibly an issue with the computer's resources being used by other processes but the IT department took a look and confirmed nothing was maxed out during the time period. Does anyone have thoughts on what might've caused it?
If it helps, I'm using SAS 9.4 (English) and the process was interrupted during a PROC SORT step. I'm thinking about switching to PROC SQL logic since I believe that's more efficient resource-wise, but I've also run the code again (start to finish) and that error didn't pop up. So all in all I'm unsure if it's really a problem with the SAS code or something related to the computer's hardware...
Out of memory could mean (not enough memory) or it could mean (not enough CPU available) or it could mean (not enough disk space). The folder /disk you are trying to write to is probably not the problem, it could be the disk where the temporary files are written.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.