Denise,

Java makes tracking your own memory usage quite difficult, which is good in
some ways, not so good in others.  What you could try is temorarily removing
your web app.  Then create a dummy servlet which gets loaded when Tomcat
loads.  This servlet won't do anything, it will just hang around
periodically calling Runtime.getRuntime().gc() followed by
Runtime.getRuntime().freeMemory(), logging the result (use a java.util.Timer
for this).  Then re-enable your web app and see how the total is affected.
It's somewhat crude, and will require a several runs to get a half-decent
average, but it's better than nothing.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to