strange Memory issue

Accepted Solution Solved
Reply
Contributor
Posts: 22
Accepted Solution

strange Memory issue

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

 

 


Accepted Solutions
Solution
‎04-27-2018 05:01 AM
Super User
Posts: 5,884

Re: strange Memory issue

Posted in reply to NewSASuser2018

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.

Data never sleeps

View solution in original post


All Replies
Solution
‎04-27-2018 05:01 AM
Super User
Posts: 5,884

Re: strange Memory issue

Posted in reply to NewSASuser2018

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.

Data never sleeps
Contributor
Posts: 22

Re: strange Memory issue

That worked. Thank you. I was confused by it being in the 2GB bound. Starting SAS with modified .exe resolved the problem!

Thanks a lot!
☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 144 views
  • 1 like
  • 2 in conversation