I have a sunray server, v440 with 16GB memory, where over 60 users running a total of 170 sessions. Some of the users were taking up over 500mb memory while others were craving for memory to run essential tools. So I decided to apply resource control to prevent users from abusing systems memory. Here is how I did it for each user.
projadd -K ‘rcap.max-rss=350mb’ user.username
UPDATE: I forgot to mention that I need to enable rcapd to cap resources duh!!
run the following command to enable rcapd and to create /etc/rcap.conf file
rcapadm -E
then run the following command to start rcapd
svcadm enable rcap