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.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 5 replies
  • 1413 views
  • 0 likes
  • 2 in conversation