Configuring jProfiler Memory with Tomcat 5
jProfiler is great. But it doesn't respect Tomcat 5's little memory configuration application that allows you to specify the JVM's min and max memory allocation. Which puts a certain limitation on jProfiler's usefulness.
To increase/set memory usage for jProfiler on Tomcat 5:
1) Go through jProfiler's wizard to setup integration with the Tomcat 5 app server.
2) You'll find a file called startup_jprofiler.bat in your %tomcat install directory%/bin/
3) In that file you'll find a line that starts with: set CATALINA_OPTS=-Xint
4) Add this: -Xms150m -Xmx200m where 150 and 200 are your min and max memory settings. It should look something like this: set CATALINA_OPTS=-Xint -Xms150m -Xmx200m -Xrunjprofiler:port=8849 "-Xbootclasspath/a:C:SuperFlyjprofiler3inagent.jar" %CATALINA_OPTS%
Good luck and drop me a message if you have any questions.