01-25-2017 07:41 PM
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.
01-25-2017 08:24 PM
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.
01-25-2017 10:33 PM
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?