Hi Community!
I have a strange Problem regarding my memory. I want to run the following code:
proc expand data=have out=want;
id Time;
convert midquote=rollingmedian / transformout=(cmovmed 50);
run;
However, I get the following error message:
ERROR: Unable to allocate sufficient memory. At least 2097152K bytes were requested, but only
383258K were available. You must either increase the amount of memory available, or
approach the problem differently.
ERROR: The SAS System stopped processing this step because of insufficient memory.
When I run proc options group=memory; I get:
Group=MEMORY
SORTSIZE=1073741824
Specifies the amount of memory that is available to the SORT procedure.
SUMSIZE=0 Specifies a limit on the amount of memory that is available for data
summarization procedures when class variables are active.
MAXMEMQUERY=0 Specifies the maximum amount of memory that is allocated for procedures.
MEMBLKSZ=16777216 Specifies the memory block size for Windows memory-based libraries.
MEMMAXSZ=2147483648
Specifies the maximum amount of memory to allocate for using memory-based
libraries.
LOADMEMSIZE=0 Specifies a suggested amount of memory that is needed for executable programs
loaded by SAS.
MEMSIZE=2147483648
Specifies the limit on the amount of virtual memory that can be used during a
SAS session.
REALMEMSIZE=0 Specifies the amount of real memory SAS can expect to allocate
My system hast the following specifications:
Windows 7 64x, intel core i7 4770 (3.40 Ghz), 16GB RAM; an definately sufficient hard drive memory.
I cannot figure out what the problem is.
Any help appreciated!
Best,
Max
You could set MEMSIZE a bit higher. Even if stated to be in bounds, it is with very small margin.
Verify during run time that you actually have memory available.
A track to SAS tech support might be a way forward.
You could set MEMSIZE a bit higher. Even if stated to be in bounds, it is with very small margin.
Verify during run time that you actually have memory available.
A track to SAS tech support might be a way forward.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.