Linux:
export CATALINA_OPTS="-Xms4096M -Xmx4096M"
set CATALINA_OPTS=-Xms4096M -Xmx4096M

Alternatively, please run:
c:\Program Files (x86)\Common Files\Strategy\Tomcat\apache-tomcat-9.0.xx\bin\tomcat9w.exe

Remember that the memory used will decrease available RAM on the machine. This may lead to performance issues if set too high, so set the value with care. For additional information on optimizing Tomcat memory usage, please refer to:
https://cwiki.apache.org/confluence/display/TOMCAT/Memory .