0 Replies Latest reply on Mar 22, 2004 5:06 AM by Balasubramanya Balasubramanya

    RuntimeErrorException: java.lang.OutOfMemoryError on jboss-4

    Balasubramanya Balasubramanya Newbie

      I was configuring jboss-4.0.0DR2 on my local machine to build my application on the latest beta version of JBoss...
      I could not deploy my enterprise beans on the server since it threw me a RuntimeErrorException: java.lang.OutOfMemoryError
      Cause: java.lang.OutOfMemoryError
      none of my enterprise beans are deployed but the server is started. When I run my application, I get an application level exception handled accordingly... I have modified the heap memory to be used by the server and it is set as follows
      rem JAVA_OPTS=%JAVA_OPTS% -Xms1024m -Xmx2048m -XX:MaxPermSize=512M

      is there anything i should be doing in addition to this??? if so, please guide me...

      thanx in advance...