Can I set the VM memory limit ?

tingfung

New Member
Oct 27, 2011
5
0
1
I am testing the proxmox for our virtual environment.
The esxi have a vm memory limit function but I can't found in proxmox.
Proxmox can limit the memory through qemu-monitor with balloon function.
How can I set the memory limit permantently ?
 
hi,
afaik,you set the desired vm ram in vm config
then if your pve host has ksm enabled, that vm ram will remain the same, from the vm pov,
but the host could save _its_ ram deduplicating ram pages used in common by other vm on the same host...
esxi servers probably use other concepts to overcommit vm ram
Marco
 
I am not sure if I understand your request.

Memory for KVM VM is defined on the hardware tab.
 
Um....if my concept is right, the vm memory set to 1024m and balloon 400mb, then is it limit to 1024-400 = 624.
There have ksm or vswap to overcommit the memory, but now i want discuss the balloon,
I think if proxmox can change the balloon memory, it is not very hard to do a memory limit function?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!