0 Replies Latest reply on Mar 3, 2003 7:33 AM by mekatoka

    OutOfMemory Exception when calling EJB from application clie

    mekatoka

      Hi,
      Environment:
      -------------

      JBoss 3.0.6, EJB 2.0, CMP 2.0

      Problem:
      ---------

      I have a JBoss server sending a message to a client machine, which is supposed to collect data and send the data over to the server.
      The client calls a session bean on the server, and sends a custom java object to the server.
      The call is failing giving me an OutOfMemory Exception.

      The server is running on a P4 2.0 GHZ, 384MB DDR RAM.

      Things i tried
      ---------------
      Tried increasing the jvm heap size at server start up by using following options

      set JAVA_OPTS= -Xms128 -Xmx256 %JAVA_OPTS%

      Can somebody tell me whats wrong or point me to a document which tells me any settings i might have to do.

      TIA

      Meka Toka