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.
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
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.
Ready to level-up your skills? Choose your own adventure.