on 01-12-2006 6:44 AM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.