You can follow this link in order to tune the JVM options. If you are facing regular JVM java.lang.OutOfMemoryError: Java heap space issues then I would recommend you to raise a track with SAS Tech support to tune it as per your environment.
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.