全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
2134 2
2014-03-11
如题 在sas中gam过程 出现了java虚拟机异常的报错。java.lang.OutOfMemoryError: Java heap space_跪求解决办法
二维码

扫码加我 拉你入群

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

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

全部回复
2015-12-23 06:30:13
最近我也出现了相同问题,解决方法如下:
http://support.sas.com/kb/31/184.html

The following error message might be issued when using ODS Graphics to create a graph:
Java virtual machine exception. java.lang.OutOfMemoryError: Java heap space.
NOTE: The SAS System stopped processing this step because of errors.
This error message is most likely to be issued if the data set is very large.
To circumvent the problem, give the Java Virtual Machine (VM) a larger memory pool by increasing the Java heap space. This is done by increasing the values for the JRE parameters -Xms and -Xmx in the SAS® 9 config file (SASV9.CFG) file to -Xms1024m and -Xmx1024m.
For example, if you are running in a Windows operating environment, you need to do the following:
First, exit any running SAS® sessions. Using any text editor, edit your SAS 9 config file. This is the file named SASV9.CFG that resides in the following Windows directory:

!SASROOT\nls\en

!SASROOT is default directory in which SAS is installed.
Make a back-up copy of your SASV9.CFG file before you edit it. To edit the SASV9.CFG file, scroll down in the file until you find the line that begins with the following:
-JREOPTIONS
Scroll to the right on this line until you see the parameters -Xms and -Xmx. Change the values for both of these parameters to 1024. For example:
-Xms1024m -Xmx1024m  
Do not change any other parameters on this line. Save your modified SASV9.CFG file.

Restart SAS and resubmit your SAS program.
二维码

扫码加我 拉你入群

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

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

2017-10-3 10:46:49
太强了,谢谢!
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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