BookmarkSubscribeRSS Feed
jvidalg
Calcite | Level 5
I have a question about REALMEMSIZE option.

Definition says: Some SAS procedures use the REALMEMSIZE option to specify how much virtual memory the procedure can allocate and use without inducing excessive page swapping.

Then, I suppose is a parameter to control page swapping and to avoid excessive page swapping.

How does it prevent swapping??,

If the systems needs more memory than real memory available, then it starts to swap until the total memory reach the value of REALMEMSIZE, is correct??.
Is a limit value for the page swapping??

Any information about REALMEMSIZE working will be greatly apreciatted.

Thanks in advance.
5 REPLIES 5
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
A few options to gain some technical reference items:

1) a Google advanced search below, strictly against the SAS.COM domain/website:

+REALMEMSIZE site:sas.com

2) the SAS support website http://support.sas.com/ and its SEARCH facility - you will find SAS-hosted DOC and additional technical reference information on the topic.


Scott Barry
SBBWorks, Inc.
jvidalg
Calcite | Level 5
Thanks for your help. I've found very useful docs

Another question, if I have a proc sort, and I want to avoid page swaping, is that the correct values for the following parameters?

MEMSIZE <= virtual memory (RAM + swap)
REALMENSIZE = (RAM - memory used S.O other apps) <= RAM
SORTSIZE <= REALMEMSIZE
jvidalg
Calcite | Level 5
Thanks for your help. I've found very useful docs

Another question, if I have a proc sort, and I want to avoid page swaping, is that the correct values for the following parameters?

MEMSIZE <= virtual memory (RAM + swap)
REALMENSIZE = (RAM - memory used S.O other apps) <= RAM
SORTSIZE <= REALMEMSIZE
jvidalg
Calcite | Level 5
Sorry I had a problem posting reply

Thanks for your help. I've found very useful docs

Another question, if I have a proc sort, and I want to avoid page swaping, is that the correct values for the following parameters?

MEMSIZE lower or equal than virtual memory (RAM + swap)
REALMEMSIZE= (RAM - memory used by O.S. + other apps) loweor or equal than RAM
SORTSIZE lower or equal than REALMENSIZE
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
Another Google advanced search argument opportunity listed below - found several related documents on the topic:

sort swapping performance memsize site:sas.com


Also, suggest you create a new post for each new query / question / problem.

Scott Barry
SBBWorks, Inc.

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
  • 5 replies
  • 2005 views
  • 0 likes
  • 2 in conversation