Hi guys,
I'm using JBoss 4.0.5.GA which comes with Tomcat 5.5.
I've got a method call which goes to the session bean, collects alot of data, processes it as a tree and passes it back.
It builds the data up fine and tries sending the data over to the client (browser) and then I recieve a HTTP Status 500 - OutOfMemoryError: Java heap space.
It says see your Tomcat logs for further details but I can't find them as Tomcat is within JBoss. Anyone know where these could be? Also, I've configured JBoss' run.bat to have -Xmx1200M. But JBoss itself does not contain this OutOfMemory error and the app server is fine for all other clients. (except all calls to this once method).
Does Tomcat need to JVM tuned separately if it comes bundled with JBoss? If so, how can I do this?
Thanks
Kunaal
Tomcat is embedded within JBossAS so the one heap size is used by both. Also, there are no separate Tomcat logs.
You might have to add some heap size monitoring options, such as -verbose:gc or -XX:+PrintHeapAtGC to see what is happening.