BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
NewSASuser2018
Obsidian | Level 7

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

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
LinusH
Tourmaline | Level 20

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

2 REPLIES 2
LinusH
Tourmaline | Level 20

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
NewSASuser2018
Obsidian | Level 7
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!

sas-innovate-2024.png

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.

 

Register now!

How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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