增加 sas 内存/memsize [英] Increasing sas memory/memsize

查看:56
本文介绍了增加 sas 内存/memsize的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您有一个包含大约 6000 个 obs 和 250 个变量的数据集.我正在尝试使用 proc mixed 在 sas 中运行混合模型,但我不断收到错误:sas 系统因内存不足而停止处理此步骤".我尝试了康奈尔大学的方式 - http://www.ciser.cornell.edu/FAQ/SAS/MemoryAllocation.shtm ,但它不能在属性"下工作,它不允许我修改目标".

Hi have a dataset wih about 6000 obs and 250 variables. I am trying to run a mixed model in sas using proc mixed but I keep getting "Error:the sas system stopped processing this step because of insufficient memory" . I tried the cornell university's way- http://www.ciser.cornell.edu/FAQ/SAS/MemoryAllocation.shtm , but its not working as under "properties", its not letting me modify "target".

我试过了,Proc选项选项=memsize 4G;运行;

I tried, Proc options option=memsize 4G; Run;

但显然代码有问题,我不断收到错误.我想增加sas分配的内存,现在是2gb.我正在使用我学校提供的sas,所以我猜它是学生版.不知道和这个内存错误有没有关系.

but obviously there is something wrong with the code and I keep getting error. I want to increase the memory assigned by sas which right now is 2gb. I am using the sas provided by my school, so I am guessing its a student version. Don't know if that has anything to do with this memory error.

如果有人可以帮助我将 memsize 更改为最大或大于 2gb 的东西,我将不胜感激.提前致谢

Would really appreciate if someone could help me with changing the memsize to max or something bigger than 2gb. Thanks in advance

推荐答案

MEMSIZE 是 可以在配置文件,SAS调用"中设置.

MEMSIZE is an option that can be set in "configuration file, SAS invocation".

设置方法如下:SAS 调用或 SAS 配置文件中系统选项的语法:

  • When running:sas.exe -memsize 4G
  • Or by putting -memsize 4G in your sasv9.cfg (there's a complicated search algorithm for sasv9.cfg files, but you can put one in the directory you invoke SAS from).

如果您在客户端-服务器环境中使用 SAS EG 或 SAS EM,那是您的管理员必须配置的内容.

If you're using SAS EG or SAS EM in client-server environment, that's something your administrator must configure.

PS.错过了链接中的说明——这就是你应该做的.如果您在修改现有命令时遇到问题,您可以从开始 -> 运行(或创建新的快捷方式)运行必要的命令.

PS. missed the instructions in your link -- that's what you should do. You could just run the necessary command from Start -> Run (or create a new shortcut) if you have trouble with modifying the existing one.

这篇关于增加 sas 内存/memsize的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆