Question

I want to host a web application on a private JVM they offer 32, 64, 128, 256 MB plans.

My web application uses Spring. And I store some objects for every logged in user session.

My question is: How can I profile my web app to see how much heap size it needs so I can choose a plan?, How can I simulate hundreds of users logged in at the same time?

I'm developing the application using Netbeans 6.7 Java 1.6 Tomcat 6.0.18

Thank you.

Was it helpful?

Solution

OTHER TIPS

I'd recommend using a tool like JMeter to do your load testing. You can use jvisualvm to see basic heap usage or grab a heap dump to see exact details.

jVisualVM is a great option to observe your application's usage of JVM memory.

However, once you're up and running, you might want to check the JVM's memory usage statistics from time to time without having to get to a console to run jVisualVM. If you do, this simple web application (heap visualizer) might be of help.

You could protect the application by modifying the web.xml so that only selected roles have access to this application.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top