qianli 发表于 2005-2-25 12:35:38

我是512M内存的机器,为什么还说内存不够?

程序显示:
Strating P-1 factoring on M28159877 with B1=280000,B2=2940000
Chance of finding a factor is an estimated 3.97%
P-1 on M28159877 with B1=280000,B2=2940000
Not enough memory available to run stage 2 now.
Will try again at a later time.
Resuming primality test of M28159877 at iteration 17524 (0.06%)

airwolfliu 发表于 2005-2-25 12:43:35

你是双通道的还是单通道的?是不是运行了太多的程序?我好象没有碰到过嘛。

碧城仙 发表于 2005-2-25 15:18:36

是你设置的计算用内存太小,在菜单项的 OPTIONS MENU 中调整:
http://fans.equn.com/dingcong/gimps/OptionsMenu.gif
The CPU menu choice lets you tell the program how often the program will run and how much memory the program can use.The dialog box also displays your CPU type, speed, and capabilities.

CPU选项菜单中可以设置程序运行的时间周期以及允许程序使用的内存的数量。在对话框中同时显示了你的cpu的型号,运算速度和性能。

http://fans.equn.com/dingcong/gimps/cpudlg.gif
如上图中:
Daytime available memory (in MB):_48_
Nighttime available memory (in MB):_48_
将48MB设置为更大的值,例如128MB,放心,实际上并不会耗费到128MB的,最多才到128MB的一半而已。想想我平时都是设置到256MB的。

qianli 发表于 2005-2-26 12:07:19

噢!明白了,我试试!

count 发表于 2005-2-26 21:50:53

在 P-1 factoring 时使用的内存特别大。
正巧我的Prime95正在P-1 factoring on M25231201, 作了如下测试:
设置用80M,任务管理器中显示用了81M±1M,
设置用100M任务管理器中显示用了91M±5M(瞬时会到107M).
设置用150M任务管理器中显示用了156M±1M(怪!).
设置用200M任务管理器中显示用了204.8M±0.1M(怪too!).
设置用 50M, 不够内存. (任务管理器中显示用了18M)
设置用 60M任务管理器中显示用了71M (!!!)
设置用 70M任务管理器中显示用了83.5M (!!!)
设置用 80M,任务管理器中显示用了83.9M
...越来越不正常......汗,不测了!


但在卢卡森测试时仅用12M.
有时设置没有立即生效. 停止、开始运行即可。

[ Last edited by count on 2005-2-26 at 10:21 PM ]

liqi 发表于 2005-2-27 08:31:27

"Not enough memory available to run stage 2 now."

是在P-1 factoring 的stage 2才要用到大内存的,具体要多少由指数大小决定,具体:

4)Factor in the information below about minimum, reasonable, and
desirable memory amounts for some sample exponents.

         Exponent            Minimum               Reasonable             Desirable
            --------                  -------                      --------                      --------
         6000000               12MB                     23MB                        33MB
         10000000               19MB                     36MB                        53MB
         33000000               65MB                   125MB                      185MB

这时机器因为内存耗尽而很卡,可以如上修改内存大小,再重启动,程序会开始LL TEST
到你机器不用的时候再改为大内存,再重启动,就可以从中断处继续P-1 factoring 的stage 2.
页: [1]
查看完整版本: 我是512M内存的机器,为什么还说内存不够?

论坛官方淘宝店开业啦~