BookmarkSubscribeRSS Feed
Tpham
Quartz | Level 8

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?

1 REPLY 1
Astounding
PROC Star

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.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 2523 views
  • 0 likes
  • 2 in conversation