Hi all, I am new to SAS. Now I am using Windows 10 and SAS 9.4.
I used the the proc univariate procedure and I encoutered a problem.
Here is my code:
proc univariate data=summer plot normal;
var a;
freq b;
run;
The dataset has more than 16000 observations.
A error message popped up:
ERROR: Internal error in Java extension NewDoubleArray().
ERROR: Java virtual machine exception. java.lang.OutOfMemoryError: Java heap space.
ERROR: Java virtual machine exception. java.lang.OutOfMemoryError: Java heap space.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE UNIVARIATE used (Total process time):
real time 4:51.49
cpu time 4:31.76
It took near 5 minutes to process this. It's very strange. I checked the forum and tried this https://support.sas.com/kb/31/184.html. But it didn't help. How can I solve this?
Thank you!
This could be caused by using "plot"-option, can you verify that you won't get that error when using proc univariate without "plot"? But contacting tech support seems to be the best/fastest way to get a working solution.
2 solutions:
- Increase the JRE memory to a high value
- Contact Tech Support
This could be caused by using "plot"-option, can you verify that you won't get that error when using proc univariate without "plot"? But contacting tech support seems to be the best/fastest way to get a working solution.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.