Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Virtual memory in Solaris container

897989Nov 3 2011 — edited Nov 8 2011
Hi guys,
I have an question regarding local zones virtual memory.
I have given this configuration:

capped-memory:
physical: 1G
[swap: 2G]

If my understanding is well so whole amount of virtual memory should be 3GB.

On the Internet I found this question where is by writer mentioned this suggestion:

"*From the my (pre-container) point of view, "zone.max-swap" would mean the amount of disk space available for virtual memory* (i.e. swap device size), but all memory allocation tests I have run (pinched from google'ing - C (using calloc), Java (using -Xms/-Xmx options) and Perl (appending to a large string)) *are pointing to it meaning total memory (i.e. physical + disk-based)*"

For full info see link below:

2244722

So my question is, is in the configuration mentioned above "swap: 2G" the whole amount of virtual memory, or this is just one part of it (second part is "physical: 1G") ??

THX
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 6 2011
Added on Nov 3 2011
4 comments
1,279 views