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

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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
  • 1132 views
  • 0 likes
  • 3 in conversation