setting place of heap memory of Java 1.8

Document ID : KB000127057
Last Modified Date : 14/02/2019
Show Technical Document Details
Issue:
Using Portal 3.5 with JDK 1.8. 
Want to configure the following java heap in API Portal 3.5 

-Xms 
-Xmx 
-XX:NewSize 
-XX:MaxNewSize 
-XX:SurvivorRatio 
-XX:MetaspaceSize 
-XX:MaxMetaspaceSize 
-Xss
Environment:
API Portal 3.5
JDK 1.8
Resolution:
It is possible by the following procedure.

01. edit /opt/Deployments/lrs/server/bin/setenv.sh.
02. add the options to the JAVA_OPTS variable in 
03. Restart Portal Service.