1 Reply Latest reply on Nov 20, 2008 2:57 PM by Peter Johnson

    HTTP Status 500 - OutOfMemoryError: Java heap space - Tomcat

    Kunaal Vaghela Newbie

      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?