最近我也出现了相同问题,解决方法如下:
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.
|