How to open JMX ports

JVM options to be set:

-Djavax.management.builder.initial= 
-Dcom.sun.management.jmxremote 
-Dcom.sun.management.jmxremote.port=8855 
-Dcom.sun.management.jmxremote.authenticate=false 
-Dcom.sun.management.jmxremote.ssl=false

See this

How to set up JVM memory settings

JVM options to be set:

# Starts with 16G and set a maximum of 24G
-Xms16G -Xmx24G