Hi All,
One of our SAS user trying to run the proc varcomp and they getting below error message in SAS log:
ERROR: Unable to allocate sufficient memory. At least 2097152K bytes were requested, but only
2097150K were available. You must either increase the amount of memory available, or approach
the problem differently.
I have added -MAXMEMQUERY MAX on SAS config file (sasv9.cfg), still giving the same error how can I fix this problem? Please, anyone, help me out on this.
MEMSIZE is the option to adjust here. 2G for MEMSIZE is a bit low these days. Try -MEMSIZE 3G. There is no guarantee this will fix the error. With statistical procedures like VARCOMP, simplifying the analysis is often required.
What does "it doesn't work" mean? Does it actually change the MEMSIZE setting - you can confirm this by using PROC OPTIONS. Or does it successfully change the setting but VARCOMP still fails?
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
Learn how to explore data assets, create new data discovery agents, schedule data discovery agents, and much more.
Find more tutorials on the SAS Users YouTube channel.