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.
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!
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.