BookmarkSubscribeRSS Feed
somebody
Lapis Lazuli | Level 10

So I have increased SAS MEMSIZE but SAS does not use all of them when running PROC or DATA steps. Is there a way to tell SAS to use all available memory?

2 REPLIES 2
ChrisNZ
Tourmaline | Level 20

 

SAS will not use more than it needs.

 

Sometimes SAS does not need all the RAM or all the CPU.

It depends on the task at hand.

 

Data steps are typically reading data sets in a sequential manner and doing few calculations, so are limited by the speed of the I/O subsystems and need very little RAM or CPU.

LinusH
Tourmaline | Level 20
You'll probably see more resource consumption in PROCs that sort and/or aggregates data, such as SQL, SUMMARY and SORT. Set the option FULLSTIMER to monitor resources. Also, set the SORTSIZE option to a value slightly below your setting of MEMSIZE.
Data never sleeps

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

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 2 replies
  • 1260 views
  • 0 likes
  • 3 in conversation