简体   繁体   English

增加sas内存/ memsize

[英]Increasing sas memory/memsize

Hi have a dataset wih about 6000 obs and 250 variables. 嗨有一个大约6000个obs和250个变量的数据集。 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" . 我试图使用proc混合在sas中运行混合模型,但我一直得到“错误:由于内存不足,sas系统停止处理此步骤”。 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". 我尝试过康奈尔大学的方式 - http://www.ciser.cornell.edu/FAQ/SAS/MemoryAllocation.shtm ,但它不能在“属性”下工作,它不会让我修改“目标”。

I tried, Proc options option=memsize 4G; 我试过,Proc options option = memsize 4G; Run; 跑;

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. 我想增加sas分配的内存,现在是2GB。 I am using the sas provided by my school, so I am guessing its a student version. 我正在使用我学校提供的sas,所以我猜它是学生版。 Don't know if that has anything to do with this memory error. 不知道这是否与此内存错误有关。

Would really appreciate if someone could help me with changing the memsize to max or something bigger than 2gb. 如果有人能帮助我将memsize改为max或大于2gb的东西,我真的很感激。 Thanks in advance 提前致谢

MEMSIZE is an option that can be set in "configuration file, SAS invocation" . MEMSIZE是一个可以在“配置文件,SAS调用”中设置的选项。

Here's how you set it: Syntax for System Options in the SAS Invocation or SAS Configuration File : 以下是设置方法: SAS调用或SAS配置文件中的系统选项语法

If you're using SAS EG or SAS EM in client-server environment, that's something your administrator must configure. 如果您在客户端 - 服务器环境中使用SAS EG或SAS EM,则管理员必须配置该功能。

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. 如果您在修改现有的快捷方式时遇到问题,可以从开始 - >运行(或创建新的快捷方式)运行必要的命令。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM