1/ please post a *new* message when writing to the list.  Replying to
an old (unrelated) message confuses thread-aware mailers, which makes
your question harder to find (and thus answer).  Doubly so when you
don't even change the subject.


: I search on google and set java -Xms256m -Xmx512m, but it doesn't help.

As has been suggested, then, give it more memory.  Load-test your app to
determine the heap size.

Run a profiler to check for resource leaks, as well.


: Is there any setting I can control Tomcat's memory usage or restart tomcat
: programmically when it is shut down?

As for restarting, search the archives for "watchdog" and similar terms.
This topic comes up once in a while, and as far as I recall it usually
boils down to people writing a custom tool.

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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

Reply via email to