服务器虚拟机内存不足怎么办,[经验]解决vmware的“物理内存不足”

98239385_1.gif许多朋友都曾遇到vmware提示“物理内存不足”,虚拟机无法启动的问题。vmware的主意是叫你去买内存条。我不知道别人怎么想,但我是无论如何不会接受这样的敲诈的。

以下方法在gsx 3.1b9089/workstation 4.52b8848,256M/512M内存,win2003上验证通过。虚拟机最大拥有3600M内存。

1、在vmware的主菜单上选“host——setting...——memory”(gsx)或“edit——preferances...——memory”(workstation)调整设定如下:

Reserved memory——最大(256M为192)

Additional memory——选“Allow most...”,就是最后一项

[img][/img]

screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" οnmοuseοver="if(this.width>screen.width*0.7) {this.resized=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\';}" οnclick="if(!this.resized) {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) {this.resized=true; this.width=screen.width*0.7; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" οnmοuseοver="if(this.width>screen.width*0.7) {this.resized=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\';}" οnclick="if(!this.resized) {return true;} else {window.open(\'attachments/2005-3/2005325222251940.jpg\');}" onmousewheel="return imgzoom(this);" alt="" />

如果不能调到3600M,用记事本打开“.vmx”文件,手工调整:memsize = "3600"

5、启动虚拟机。效果如下:

[img][/img]

screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" οnmοuseοver="if(this.width>screen.width*0.7) {this.resized=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\';}" οnclick="if(!this.resized) {return true;} else {window.open(\'attachments/2005-3/2005325222813606.jpg\');}" onmousewheel="return imgzoom(this);" alt="" />

呵呵,3600M,我的主板还不支持呢

b5c6e30760810067aca120834044fb96.png

你的赞赏是我坚持原创的动力

赞赏

共 0 人赞赏

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值