ID #1049

mainmem

This class of parameters are used on hosted platforms and will be  ignored on ESX.


The behavior has changed recently for Workstation on Linux hosts !

The most interesting parameter sets the location of the file that is used to backup the guests virtual memory.




Workstation , VMserver and VMplayer on Windows

mainmem.useNamedFile = "TRUE"

creates a random named file  *.vmem inside the directory of the vmx-file.
This is the default setting - it is useful if you want to run many VMs with little impact on the host

 

mainmem.useNamedFile = "FALSE"

uses the real RAM plus the pagefile and so improves performance but may also prevent you from running many VMs at the same time. Recommended for VMs stored on slow external media like USB-sticks.
If you add the parameters to the config.ini it is used as the default for all VMs

 


Workstation up to 6.5 , VMserver and VMplayer up to 2.5 on Linux

mainmem.useNamedFile = "TRUE"
creates a random-named *.vmem file insidethe directory of the vmx-file

mainmem.useNamedFile = "FALSE"
creates a vmem-file in /tmp


 Workstation 7 and VMplayer 3 on Linux 32 bit

mainmem.useNamedFile = "FALSE"
creates a vmem-file in /tmp

mainmem.backing = "NAMED"
creates a vmem-file inside the directory of the vmx-file

 


 

Workstation 7 and VMplayer 3 on Linux 64 bit

mainmem.backing = "SWAP"
uses the real RAM plus swap-partition

mainmem.backing = "UNNAMED"
creates a vmem-file in /tmp

mainmem.backing = "NAMED"
creates a vmem-file inside the directory of the vmx-file

 


 

In emergencies only ...

mainMem.freeSpaceCheck = "FALSE"

Dangerous !
in case a VM denies to start and complains like "... drive is critical low on space ..."
this parameter may overriide this
use with caution - and remove as soon as you fixed the issue.


 

For expert use ...

 

mainMem.allow8GB
mainMem.ioBlockPages
mainMem.ioWait
mainMem.pageFileSave
mainMem.preAllocVACache
mainMem.prefetchMB
mainMem.sharedMemHashTableSize
mainMem.traceSave
mainMem.vaAlignSize
mainMem.vaCacheSize
mainMem.vaTileSize



Tags: mainmem, vmx

Related entries:

You can comment this FAQ