cancel
Showing results for 
Search instead for 
Did you mean: 

How to increase memory associated to was

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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.

Former Member
0 Kudos

Hi Sivasubramaniyan

Unfortunately I cannnot find that service in

Server à Services à Component Build Service

in Visual Administrator

Former Member
0 Kudos

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

Answers (1)

Answers (1)

Former Member
0 Kudos

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