[经验]解决vmware的“物理内存不⾜”
许多朋友都曾遇到vmware提⽰“物理内存不⾜”,虚拟机⽆法启动的问题。vmware的主意是叫你去买内存条。我不知道别⼈怎么想,但我是⽆论如何不会接受这样的的。
以下⽅法在gsx 3.1b9089/workstation 4.52b8848,256M/512M内存,win2003上验证通过。虚拟机最⼤拥有3600M内存。
1、在vmware的主菜单上选“host————memory”(gsx)或“edit————memory”(workstation)调整设定如下:
Reserved memory——最⼤(256M为192)
Additional memory——选“”,就是最后⼀项
[img][/img]
screen.width*0.7) {sized=true; this.width=screen.width*0.7; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}"
onmouseover="if(this.width>screen.width*0.7) {sized=true; this.width=screen.width*0.7; this.style.cursor=\'hand\'; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onclick="if(!sized) {return true;} else {window.open(\'attachments/2005-3/20053252285654.jpg\');}" onmousewheel="return imgzoom(this);" alt="" />
2、在“C:\Documents and Settings\All Users\Application Data\VMware\VMware GSX Server”或“C:\Documents and Settings\All Users\Application Data\VMware\VMware Workstation”下到名为“config.ini”的⽂件,双击打开。把
“prefvmx.useRecommendedLockedMemSize = ”设为"TRUE"
“prefvmx.minVmMemPct = ”改成⼀个⾜够⼩的数,例如“1”
3、调整windows的虚拟内存到⾜够⼤,例如“xxx——4096”并重新启动。
4、重新启动后进⼊虚拟机设置,应该已经变成这样⼉了:
[img][/img]
screen.width*0.7) {sized=true; this.width=screen.width*0.7; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}"
onmouseover="if(this.width>screen.width*0.7) {sized=true; this.width=screen.width*0.7; this.style.cursor=\'hand\'; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onclick="if(!sized) {return true;} else {window.open(\'attachments/2005-3/2005325222251940.jpg\');}" onmousewheel="return imgzoom(this);" alt="" />
如果不能调到3600M,⽤记事本打开“.vmx”⽂件,⼿⼯调整:memsize = "3600"
5、启动虚拟机。效果如下:
[img][/img]
resizedscreen.width*0.7) {sized=true; this.width=screen.width*0.7; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}"
onmouseover="if(this.width>screen.width*0.7) {sized=true; this.width=screen.width*0.7; this.style.cursor=\'hand\'; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onclick="if(!sized) {return true;} else {window.open(\'attachments/2005-3/2005325222813606.jpg\');}" onmousewheel="return imgzoom(this);" alt="" />
呵呵,3600M,我的主板还不⽀持呢