Skip to content
Discussion options

You must be logged in to vote

@havengit This behavior is actually by design. CloudStack looks at allocated capacity rather than used to ensure a VM always has access to its full RAM when it needs it. For example, if VM1 is allocated 8GB but is currently only using 1GB, and CloudStack were to ignore that allocation and assign the 'unused' 7GB to VM2, you’d run into a major conflict the moment VM1 actually tries to use its full 8GB.

If you're concerned about OOM (Out of Memory) issues, there are a few things you can do:

  1. Make sure your mem.overprovisioning.factor is set to 1.0. This ensures you aren't 'selling' more RAM than the hardware physically has.

  2. As you mentioned, setting a value for host.reserved.mem.mb is a …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by DaanHoogland
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #12276 on December 17, 2025 08:30.