Hi,
So I am looking for a way to put a maximum size limit on my SAS EG so that if code ever loops, the project/query stops with an error (mentioning excess size hopefully).
I saw another article where someone has this as an error when their size went over 5MB and they turned off project logs, but I don't see an option to actually set it up with size.
I use SAS EG7.1 on a corporate network which I believe is connected to a remote server.
They send an automatic email if the maximum work library size has exceeded and I have asked them as well if this is a possible solution available on the remote server side.
Any help is greatly appreciated.
The size of 5 MB mentioned is about SAS logs. There are ways and means to overcome this.
What size you want to limit?
Need clarity on this.
If your code loops then it is good practice to set upper limits so it cannot go beyond these. Code does not loop unless you have logic to cause it. It would be helpful if you posted an example of the type of looping you have.
Applying ab observation limit will work, but most looping happens when I overlook something. For example, doing a join of two tables creating a huge amount of outcomes.
If there is a generic size I can put on my work library as when it goes over 50GB, crash all programs.
Setting individual space limits on WORK libraries is possible using OS commands like ulimit if your are running on Unix. What OS do your SAS servers run on?
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.