java – Passing JVM arguments to Tomcat when running as a service? – Stack Overflow

In your Tomcat /bin folder, you should have a tomcat5w.exe admin app (or in later versions tomcat6w.ex, tomcat8w.exe, etc). Go to the Java tab and add the args in the “Java Options:” box.