楼主: shinyshanny
1854 2

[问答] java.lang.OutOfMemoryError: Java heap space [推广有奖]

  • 0关注
  • 0粉丝

等待验证会员

学前班

40%

还不是VIP/贵宾

-

威望
0
论坛币
0 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
20 点
帖子
1
精华
0
在线时间
0 小时
注册时间
2014-3-11
最后登录
2014-3-11

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
如题 在sas中gam过程 出现了java虚拟机异常的报错。java.lang.OutOfMemoryError: Java heap space_跪求解决办法
二维码

扫码加我 拉你入群

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

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

关键词:memory Error Space Java heap sas

沙发
kmrcx 发表于 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.

使用道具

藤椅
lijian5521 发表于 2017-10-3 10:46:49 |只看作者 |坛友微信交流群
太强了,谢谢!

使用道具

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-4-25 12:43