Hi all
How to solve this issue?
NOTE: PROCEDURE SGPLOT used (Total process time):
real time 43.44 seconds
cpu time 0.21 seconds
NOTE: Marker and line antialiasing has been disabled for at least one plot because the threshold
has been reached. You can set ANTIALIASMAX=670000 in the ODS GRAPHICS statement to enable
antialiasing for all plots.
ERROR: Java virtual machine exception. java.lang.OutOfMemoryError: GC overhead limit exceeded.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: There were 669956 observations read from the data set WORK.FITMILK.
regards
Did you try adding:
ods graphics / antialiasmax=670000;
or perhaps
ods graphics/ noantialias;
before the proc sgplot?
Anti-alias is a "smoothing" technique to make lines and markers appear nicer. As such, it can require more memory to process the image created. Since you are apparently plotting around 670,000 elements that is where the suggestion in the note comes from.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
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.