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