内存不足matlab

时间:2013-12-07 07:30:35

标签: matlab memory

我正在尝试解决大型线性编程任务并拥有大型矩阵。 之后

[x,fval,exitflag] = linprog(f,A,b,[],[],lb,[],[]);

Matlab说:

Error using builtin
Out of memory. Type HELP MEMORY for your options.  
Error in lipsol (line 720)
Rinf = builtin('_cholinf',sparse(P(perm,perm)));
Error in linprog (line 272)
[x,fval,lambda,exitflag,output]
=lipsol(f,A,B,Aeq,Beq,lb,ub,options,defaultopt,computeLambda);

回答记忆命令:

Maximum possible array:     87 MB (9.088e+07 bytes) *
Memory available for all arrays:    877 MB (9.197e+08 bytes) **
Memory used by MATLAB:    650 MB (6.817e+08 bytes)
Physical Memory (RAM):   3057 MB (3.206e+09 bytes)

那么我该怎么做才能增加记忆力呢? 赢得7 x86,4 Gb RAM

1 个答案:

答案 0 :(得分:0)

以下是增加用于进程的内存的MATLAB页面:http://www.mathworks.com/help/matlab/matlab_prog/resolving-out-of-memory-errors.html。这就是他们对Windows系统的具体说法:“使用Windows控制面板更改系统上虚拟内存分页文件的大小。有关更多信息,请参阅Windows帮助。”