In my environment (Solaris) I host applications for several clients and each application runs on each own Jetty server instance. I'm doing this to isolate each customer such that when one Jetty goes down only one customer is affected. The problem I have is that these Jetty servers are eating up a great deal of swap memory, some of them up to 410MB. I need to reduce this memory footprint but I'm not sure how to do it. My apps are Spring/Hibernate based. Each application has jars in WEB-INF/lib totaling 32MB. Any suggestions?
Thanks in advance.
In a time of drastic change it is the learners who inherit the future. The learned usually find themselves equipped to live in a world that no longer exists.<br />Eric Hoffer
Thanks Kees, I will experiment with the heap minimum and maximum sizes. They are currently not set.
In a time of drastic change it is the learners who inherit the future. The learned usually find themselves equipped to live in a world that no longer exists.<br />Eric Hoffer
You can also install Java-monitor to get a view of your memory use over time. Here is a demo of what that might look like: http://java-monitor.com/livedemo.html