VMware Communities
hpyu
Contributor
Contributor

How to allocate the fixed size of memory for guest OS

I'm using VMware Player 5.0.2 (Host OS is win7) and a Ubuntu virtual machine(Guest OS).

I need the Guest OS have all the memory it is set (for example 2GB) in setting when it is started instead of dynamic allocation.

When the Guest OS is power on , I should see the memory usage increase 2GB in the Windows Task Manager.

In the past, I had fix this issue by the parameters like below, but it doesn't work now.

mem.ShareScanTotal=0

mem.ShareScanVM=0

mem.ShareScanThreshold=4096

sched.mem.maxmemctl=0

sched.mem.pshare.enable = "FALSE"

mainMem.useNamedFile = "FALSE"

prefvmx.useRecommendedLockedMemSize="TRUE"

prefvmx.minVmMemPct="100"

MemTrimRate = "0"

MemAllowAutoScaleDown = "FALSE"

Anyone who give a solution will be greatly appreciated.

Thanks.

0 Kudos
0 Replies