App Server eating memory
Hi!
I am using Sun Appserver 9 (first customer ship) with one EJB-JAR collection. It contains about 15 persistent Entity classes, 5 Stateless Session beans und 1 stateless webservice bean. Further resources are one MySQL jdbc datasource and one JavaMail session.
My test server has 512MB of physical memory. The MySQL daemon is also running no the same machine (it uses about 5% of memory). When starting the appserver, it first uses about 15% of memory, after deploying the ejb-jar it increases to about 40% and when invoking the webservice memory usage increases to 80%. After some webservice invocations I sometimes get an out of memory error and the server must be restarted.
How can memory usage be improved?

