设为首页收藏本站language 语言切换
查看: 20917|回复: 24
收起左侧

[经验]解决vmware的“物理内存不足”

[复制链接]
发表于 2014-1-25 19:13:35 | 显示全部楼层 |阅读模式
许多朋友都曾遇到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\';}" onmouseover="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\';}" onclick="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\';}" onmouseover="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\';}" onclick="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\';}" onmouseover="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\';}" onclick="if(!this.resized) {return true;} else {window.open(\'attachments/2005-3/2005325222813606.jpg\');}" onmousewheel="return imgzoom(this);" alt="" />
呵呵,3600M,我的主板还不支持呢
 楼主| 发表于 2014-1-25 19:14:16 | 显示全部楼层
&lt>不好意思,第二步中的steup.ini应为config.ini,请版主帮忙改一下
沙发 2014-1-25 19:14:16 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2014-1-25 19:15:08 | 显示全部楼层
好文章,支持!
板凳 2014-1-25 19:15:08 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2014-1-25 19:16:02 | 显示全部楼层
想问一下,这样设置虚拟机实际占用的物理内存是多少?
地板 2014-1-25 19:16:02 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2014-1-25 19:16:52 | 显示全部楼层
已经修改了。
非常好,已经加为精华帖
[此贴子已经被作者于2005-3-26 11:27:55编辑过]
5# 2014-1-25 19:16:52 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2014-1-25 19:17:28 | 显示全部楼层
&lt>兄弟们,这年代有点太疯狂了吧!
[em02]
6# 2014-1-25 19:17:28 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2014-1-25 19:18:23 | 显示全部楼层
好文章
7# 2014-1-25 19:18:23 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2014-1-25 19:18:59 | 显示全部楼层
好文章呀,谢谢了。
8# 2014-1-25 19:18:59 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2014-1-25 19:19:32 | 显示全部楼层
我也想问一下.你这样改了之后.那么虚拟机在物理内存中到底占了多少内存呢?
9# 2014-1-25 19:19:32 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2014-1-25 19:20:05 | 显示全部楼层
好文章,支持!
10# 2014-1-25 19:20:05 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2005-3-4 15:46:00 | 显示全部楼层
&lt>有谁改成功了.               启动一个或者多个系统看会卡吗?????
&lt>成功了.                说一下自己的成果啊.
11# 2005-3-4 15:46:00 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2005-10-4 10:30:00 | 显示全部楼层
&lt>一定会卡啊
&lt>这方法只是让你能用超大记忆体分配
&lt>不代表效率会好
&lt>HOST端中的虚拟记忆体大量交换 你说效率怎么可能会好
12# 2005-10-4 10:30:00 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2005-11-4 04:21:00 | 显示全部楼层
&lt>没有这么大的内存能用吗,如果超过了会怎么样啊。
13# 2005-11-4 04:21:00 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2005-11-4 04:56:00 | 显示全部楼层
&lt>我找不到HOST SETING的选项呀.我的是5.0的
14# 2005-11-4 04:56:00 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2005-11-4 22:30:00 | 显示全部楼层
这样效率远不如直接用内存,因为cpu的时间片都会被页面文件交换耗干净的。有钱还是加内存条吧,除非穷兄弟又想启多系统的。
15# 2005-11-4 22:30:00 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-4-24 22:58 , Processed in 0.767537 second(s), 22 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表