A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Memory usage of java application with tomcat
Joined: Mar 22, 2006
Dec 31, 2006 04:35:00
Web based application(
) is deployed to
and I need to find the memory usage / disk usage of this application.
Please let me know how to find the memory usage for a web based application.
Joined: Dec 11, 2004
Dec 31, 2006 06:22:00
The disk usage should be easy.
Your OS should have tools for recursively measuring the directory structure of your app.
Memory is another story.
There's heap memory, permgen, etc..
They all, of course, will vary according the load on your system.
Java 5 ships with the jConsole app which does a nice job of displaying memory usage in graphs.
The Server Status page in the Tomcat Manager app will show you your current, max, and available heap space.
How to ask a question...
Simple Servlet Examples
Author and all-around good cowpoke
Joined: Mar 22, 2000
Dec 31, 2006 08:49:00
Tomcat manager is highly recommended. In addition to memory it will show you the status of the Thread pool and request statistics. Very handy for spotting potential bugs.
subject: Memory usage of java application with tomcat
Heap Memory usage
Assessing Heap Requirements
Tomcat Crashing / Refusal to respond
Out of Memory with high Free Memory
How Memory is used with Tomcat
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015