Skip to Content
avatar image
Former Member

How to increase memory associated to was

Hi all;

During our development period, we always meet with ' out of memeory ' error when we are debugging.

Is there any place for us to set memory for was ?

Thanks

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Jan 12, 2006 at 08:41 AM

    Hi,

    Please refer this link.

    http://help.sap.com/saphelp_nw04s/helpdata/en/42/c98d6b11886babe10000000a1553f6/frameset.htm

    Regards,

    Siva

    P.S: Award points if you find this useful.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Jianhong,

      The root cause of OutOfMemory error can be different though uaually it can be solved by increasing J2EE Server

      MX size. To increase MX size execute J2EE ControlTool, click on the instance and select your server(s). On the right frame you will see Java settings tab. you can adjust MX parameters as follows:

      -Xms1024M

      -Xmx1024M

      -XX:MaxNewSize=192M

      -XX:NewSize=192M

      -XX:MaxPermSize=256M

      -XX:PermSize=256M

      Also set "Max Heap Size" to the same value (1024).

      Then you'll need to restart you J2EE server to activate paramters. However if you have less then 2048 Mb of RAM,I would go with 512M settings fro teh MX/MS. Otherwise your system may go into swapping.

      Regards,

      Mike

  • avatar image
    Former Member
    Jan 17, 2006 at 05:10 AM

    Hi Jianhong,

    You can also refer to the SAP Note 709140, which describes the VM memory settings for the Java Engine.

    Regards

    Srikishan

    Message was edited by: Srikishan D

    Add comment
    10|10000 characters needed characters exceeded