Increasing sas memory/memsize

17,261

MEMSIZE is an option that can be set in "configuration file, SAS invocation".

Here's how you set it: Syntax for System Options in the SAS Invocation or SAS Configuration File:

If you're using SAS EG or SAS EM in client-server environment, that's something your administrator must configure.

PS. missed the instructions in your link -- that's what you should do. You could just run the necessary command from Start -> Run (or create a new shortcut) if you have trouble with modifying the existing one.

Share:
17,261
jack
Author by

jack

Updated on June 04, 2022

Comments

  • jack
    jack almost 2 years

    Hi have a dataset wih about 6000 obs and 250 variables. I am trying to run a mixed model in sas using proc mixed but I keep getting "Error:the sas system stopped processing this step because of insufficient memory" . I tried the cornell university's way- http://www.ciser.cornell.edu/FAQ/SAS/MemoryAllocation.shtm , but its not working as under "properties", its not letting me modify "target".

    I tried, Proc options option=memsize 4G; Run;

    but obviously there is something wrong with the code and I keep getting error. I want to increase the memory assigned by sas which right now is 2gb. I am using the sas provided by my school, so I am guessing its a student version. Don't know if that has anything to do with this memory error.

    Would really appreciate if someone could help me with changing the memsize to max or something bigger than 2gb. Thanks in advance

  • jack
    jack almost 8 years
    Thanks! I think its working now. I went to Start -> Run -> sas.exe -memsize 4G ..I am not getting the error anymore.