Chris,
  This gives how much heapsize is currently allocated.
   How can I know whether it is enough or what size it should be increased to?
   Also: real time wise, how if tomcat behaving with each event/interaction/page delivery?


Thanks,
Ibrahim


Christopher Schultz <[EMAIL PROTECTED]>

07/18/2006 09:00 AM
Please respond to "Tomcat Users List"

       
        To:        Tomcat Users List <users@tomcat.apache.org>
        cc:        
        Subject:        Re: Increase Heapsize



Ibrahim,

>> You can always call Runtime.getRuntime().totalMemory() to find out the
>> amount of heap space that has been allocated to the JVM.
>
>  Where would this code be written?
>  And how would I execute it?

Just toss a JSP file somewhere with that code in it to allow you to
check up on the app.

-chris




******************************************************************************
This communication (including any attachments) may contain privileged or
confidential information intended for a specific individual and purpose, 
and is protected by law.  If you are not the intended recipient, you should
delete this communication and/or shred the materials and any attachments and
are hereby notified that any disclosure, copying, or distribution of this
communication, or the taking of any action based on it, is strictly prohibited.

Thank you.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to