How to set the Min Xms and Max Xmx allocations for Java VM when using Tomcat NT Service with Tomcat 4.1.x

Notes :

  • CATALINA_OPTS in Catalina.bat appear to be ignored when using the Tomcat NT Service
  • Values can be checked using the Task Manager in Windows or by using an application Profiler