BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
rmlmrmlm
Obsidian | Level 7

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
)

1 ACCEPTED SOLUTION

Accepted Solutions
FreelanceReinh
Jade | Level 19

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.

View solution in original post

4 REPLIES 4
andreas_lds
Jade | Level 19

@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.

rmlmrmlm
Obsidian | Level 7
Thank you!

So,I must keep the original jreoptions statement in rhe original cfg and
paste it to the usermod.cf file and change those two params to the new
values.

Right?
FreelanceReinh
Jade | Level 19

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
Obsidian | Level 7

Thank you all

!

The IT Dept. is restarting the services.

I'll post the result of PROC OPTIONS in a few minutes.

 

 

SAS Innovate 2025: Register Now

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!

Mastering the WHERE Clause in PROC SQL

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.

Discussion stats
  • 4 replies
  • 1925 views
  • 1 like
  • 3 in conversation