全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
3785 4
2010-01-14
SAS版本是这里下的9.1,我的内存只有1G。

proc iml;
d=j(7000, 7000, 0);
e=j(7000, 7000, 1);
show d e;
*可以顺利生成两个7000×7000的矩阵,但是将这两个矩阵简单相加就不行了。
f=d+e;
show f;
*显示 ERROR: (execution) Unable to allocate sufficient memory. At least 392000032 more bytes required.

用同学2G的电脑也没有跑成功。

请教版上的强人帮忙解围,不知道是不是内存的问题,是否加内存条可以解决?

非常感谢!
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2010-1-14 03:10:36
内存占用1.2G左右
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2010-1-14 07:32:34
梨棠皮皮 发表于 2010-1-14 00:05
SAS版本是这里下的9.1,我的内存只有1G。

proc iml;
d=j(7000, 7000, 0);
e=j(7000, 7000, 1);
show d e;
*可以顺利生成两个7000×7000的矩阵,但是将这两个矩阵简单相加就不行了。
f=d+e;
show f;
*显示 ERROR: (execution) Unable to allocate sufficient memory. At least 392000032 more bytes required.

用同学2G的电脑也没有跑成功。

请教版上的强人帮忙解围,不知道是不是内存的问题,是否加内存条可以解决?

非常感谢!
press:
win-key + R

in the pop RUN window

enter

"C:\Program Files\SAS\SAS 9.1\sas.exe" -MEMSIZE 2G

The 2G will give SAS max 2g allocation.

Hope this can solve your problem.
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2012-2-14 15:06:50
非常感谢!正在尝试中,希望成功!
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2012-2-14 16:24:16
PROC IML <SYMSIZE=n1 > <WORKSIZE=n2 >;
where n1 and n2 are specified in kilobytes.
The SYMSIZE= and WORKSIZE= options in the PROC IML statement give you
control over the size of memory allocated to the symbol space and the size of each
extent of workspace.
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群