cancel
Showing results for 
Search instead for 
Did you mean: 

Out of Memory Error after installation

Former Member
0 Kudos

Hello SAPfans!

I am trying to use my newly installed webAS 6.40. When I deploy a simple webdynpro application, the server takes a while then reports that it has ran out of memory!

The stacktrace only contains of "java.lang.OutOfMemoryError".

Please advise.

Best regards, Peter

Accepted Solutions (1)

Accepted Solutions (1)

former_member198228
Active Participant
0 Kudos

how much physical memory do you have on the machine. It needs at least 512MB. If you do have that please increase the vm memory settings using the config tool.

Former Member
0 Kudos

Hi, we have 4 GB of internal memory on the box.

Where exactly do you mean to update the VM settings?

I set the value when installing to a max heapsize of 1024 MB...?

Best regards, Peter

achim_hauck2
Active Contributor
0 Kudos

take a look at note 723909, there are some important vm-parameters for an EP-installation.

I use (without any problems with 1,5GB RAM):

-Xms170m

-Xmx170m

-XX:NewSize=128m

-XX:MaxNewSize=128m

-XX:PermSize=192m

-XX:MaxPermSize=192m

kr, achim

to edit them, start the configtool in <install-dir>/configtool/

with 4GB ram you can use much higher values, of course

Message was edited by: Achim Hauck

Former Member
0 Kudos

Perfect! Thank you for the tip!

I added the lines

-XX:PermSize=64m

-XX:MaxPermSize=128m

in "java parameters" and now the webAS seems to be content.

Best regards, Peter

achim_hauck2
Active Contributor
0 Kudos

good to hear.

consider saying "thanks" by clicking on the yellow star, if your question is answered

kr, achim

Former Member
0 Kudos

I think you got the 10 points appointed to this answer, right?

However, do you have a document describing these parameters and what they stand for?

BR, Peter

achim_hauck2
Active Contributor
0 Kudos

if you use the java VM from sun, surf to http://java.sun.com/docs/hotspot/VMOptions.html

but I don't recommend to set any of these parameters other than SAP tells you...

kr, achim

Former Member
0 Kudos

Ka-ching! Two more points!

Have a nice day,

Peter

achim_hauck2
Active Contributor
0 Kudos

... and 8 minus. the 10 vansihed ;-(

Answers (0)