我们老师在用一个叫FDS的火灾模拟软件,做我们寝室楼4楼以下的火灾模拟时可以正常运行。4层楼时我看进程里用了1.6G的内存了,可以推测5层的时候要超过2G了,结果就提示“ERROR:memory allocation failed for US in the routine INIT”,这个好像是因为那个单个进程的内存限制吧。
我就上网查了一个突破进程内存限制的方法如下。
首先,你的物理内存要够大,否则可能会出一些问题,(多大够大我也不知道).
然后,xp下修改启动盘下的boot.ini.在multi(?)disk(?)rdisk(?)partition(?)\WINDOWS=......最后加上/3GB。
比如我的boot.ini
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /3GB
重新运行提示就变成
ERROR:memory allocation failed for IJKE in the routine INI
ERROR:memory allocation failed for EDGE_INDEX in the routine INI