01-12-2017 03:50 AM
My log file contains this error message:
ERROR: Insufficient memory. ERROR: The SAS System stopped processing this step because of insufficient memory.
Ussually this is due insufficient space for WORK library datasets but i have been assured by our IT support that Saswork is currently only 56% full. What can I do to find out more details about this error to ultimately solve this issue? Thanks!
01-12-2017 04:09 AM
Insufficient memory points to RAM, not disk.
Please post the log including the step that caused the ERROR, and some information about the dataset(s) used (variables, number of observations, cardinality of class variables, if such were used)
01-12-2017 04:15 AM
What proc are you running or is it datastep? Please provide the logic where you encountered the issue.
You can also try checking what's your memsize setting at your end. You can try increasing the memsize and see if that works for you.
Cheers from India !
01-12-2017 04:21 AM
Keep in mind that MEMSIZE can only be set at SAS invocation, either from the commandline or through the config file.
01-12-2017 08:07 AM
But you do get a WARNING:
16 options memsize=max; _______ 30 WARNING 30-12: SAS option MEMSIZE is valid only at startup of the SAS System. The SAS option is ignored.
01-12-2017 08:58 AM
As an addendum: MEMSIZE problems often point to inefficient programming. Around here, the workspace server (9.2) runs with 192 MB, and we very rarely run into memory problems. Most often this is caused by using summary procedures with a class instead of a by, and the class variables having a high cardinality.
01-12-2017 11:00 AM
Agrree but sometimes you inherit inefficient code and you do not have time to optimize (-:
If you do not have the time to do something right, then why are you doing it anyway? Not having the time to correct things is the one poor excuse that perpetuates shitty code. Because the next time that bullshit code causes you grief, you get into even more trouble and have even less time to fix it, and on and on and on. Until you find that you have wasted a man-month by not taking the one hour that would have fixed it in the first place.