Desktop productivity for business analysts and programmers

Out of memory

Reply
Occasional Contributor
Posts: 10

Out of memory

How can i get to increase memory and decide problem "ERROR: out of memory" due to MEMSIZE and SORTSIZE

Trusted Advisor
Posts: 1,852

Re: Out of memory

[ Edited ]
Posted in reply to Maksim_Karyagin

You might need to share this with your SAS administrator in your company. This will require to change centralized configuration files.

Super User
Posts: 10,589

Re: Out of memory

[ Edited ]
Posted in reply to Maksim_Karyagin

Since you use a workspace server (as you posted this in the Enterprise Guiee forum), you need to have the configuration changes made server-side.

What actually caused your problems (please post complete log of the offending step)? Sometimes improper use of proc steps can cause memory errors, and the problem can be dealt with without configuration changes.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
How to convert datasets to data steps
How to post code
Valued Guide
Posts: 505

Re: Out of memory

Posted in reply to KurtBremser

Can you post

 

Proc options group=memory;

run;quit;

 

I just saw 16gb of DDR3 ram dor $79, hopefully you have at least 16gb.

Occasional Contributor
Posts: 10

Re: Out of memory

Posted in reply to rogerjdeangelis

Yeah, I have 32 gb/ 

 

About my code: i have 7 constraints. But just only 3 is working.

 

And then I change value of parameters memsize from 28g to 2g and sortsize change 27g on 512m (in sas config file). Then i have 4 constraints working. What i can do if i want that my all seven constraints will work. 

Ask a Question
Discussion stats
  • 4 replies
  • 267 views
  • 2 likes
  • 4 in conversation