System Administration Guide: Virtualization Using the Solaris Operating System
Previous Next

Attribute to Limit Physical Memory Usage

To define a physical memory resource cap for a project, establish a resident set size (RSS) cap by adding this attribute to the project database entry:

rcap.max-rss

The total amount of physical memory, in bytes, that is available to processes in the project.

For example, the following line in the /etc/project file sets an RSS cap of 10 Gbytes for a project named db.

db:100::db,root::rcap.max-rss=10737418240

Note - The system might round the specified cap value to a page size.


You can also use the projmod command to set the rcap.max-rss attribute in the /etc/project file.

For more information, see Setting the Resident Set Size Cap.

Previous Next