Help using Base SAS procedures

Unable to allocate sufficient memory error

Reply
Contributor
Posts: 58

Unable to allocate sufficient memory error

I am trying to figure out how exactly to fix this issue. So I am running a SAS server program (remote desktop into a Windows server machine.. use SAS from there). I am trying to do a 4 way interaction to check my code to ensure I created my variables correctly and I seem to get an error

6674      proc freq data=disease;

6675          table time_diag*date_screen*date_diag*diagy / list missing;

6676      run;

ERROR: Unable to allocate sufficient memory. At least 725504K bytes were requested. You must

       either increase the amount of memory available, or approach the problem differently.

I do not have admin access to the server. Does anyone know any work around to get this to run?

Super User
Posts: 5,498

Re: Unable to allocate sufficient memory error

A standard technique to reduce memory requirements:

proc sort data=disease;

   by time_diag;

run;

proc freq data=disease;

   by time_diag;

   tables date_screen*date_diag*diagy / list missing;

run;

The report format will change but the result is likely to be acceptable.

Ask a Question
Discussion stats
  • 1 reply
  • 871 views
  • 0 likes
  • 2 in conversation