Hello.
My original sasv9.cfg file is:
/* Options used when SAS is accessing a JVM for JNI processing */
-JREOPTIONS=(
-DPFS_TEMPLATE=!SASROOT\tkjava\sasmisc\qrpfstpt.xml
-Djava.class.path=path_to_sas_launcher_jar
-Djava.security.auth.login.config=!SASROOT\tkjava\sasmisc\sas.login.config
-Djava.security.policy=!SASROOT\tkjava\sasmisc\sas.policy
-Djava.system.class.loader=com.sas.app.AppClassLoader
-Dsas.app.class.path=path_to_tk_java_jar
-Dsas.ext.config=!SASROOT\tkjava\sasmisc\sas.java.ext.config
-Dsas.jre.libjvm=path_to_jvm_dll
-Dtkj.app.launch.config=path_to_tkjni_picklist
-Dlog4j.configuration=path_to_sas_log4j_properties
-Xms128m
-Xmx128m
)
I just want to change the last 2 parameters to: -Xms1024m -Xmx1024m.
I'm going to change the file:
(..)\Config\Lev1\SASApp\sasv9_usermods.cfg
It's enough to set only these parameters avoiding to write all the others?
My code:
-JREOPTIONS=(
-Xms1024m
-Xmx1024m
)
Hello @rmlmrmlm,
According to the documentation (section "Details", ignore the backslashes in the "Examples") the new values will be appended to the original set of JRE options, provided that both config files are used (cf. How SAS Finds and Processes Configuration Files). You can confirm this by checking the option setting as usual after the SAS session has started:
proc options option=jreoptions;
run;
I assume that the later values override the corresponding earlier ones.
@rmlmrmlm wrote:
Hello.
It's enough to set only these parameters avoiding to write all the others?
My code:
-JREOPTIONS=(
-Xms1024m
-Xmx1024m
)
Afaik not, because xms and xmx aren't two options but part of jreoptions.
Hello @rmlmrmlm,
According to the documentation (section "Details", ignore the backslashes in the "Examples") the new values will be appended to the original set of JRE options, provided that both config files are used (cf. How SAS Finds and Processes Configuration Files). You can confirm this by checking the option setting as usual after the SAS session has started:
proc options option=jreoptions;
run;
I assume that the later values override the corresponding earlier ones.
Thank you all
!
The IT Dept. is restarting the services.
I'll post the result of PROC OPTIONS in a few minutes.
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.