cancel
Showing results for 
Search instead for 
Did you mean: 

Java.lang.out of memory error

Former Member
0 Kudos

Hi all,

we r getting this error many times.When we restart the server we r not getting this error.what is the reason for this error and how to solve it with out restrating the server again ang agian.

Regards,

Kiran

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member192029
Active Contributor
0 Kudos

Hi

Increase your virtual mememory space. stop unwanted services.

You aware that running portal requires atleast 2GB RAM and 8 GB hard disc space recommended

Check further from

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/77317c8d-0701-0010-f093-ed3...

Cheers

Jawahar Govindaraj

Former Member
0 Kudos

Hi Kiran

look at sap note 759669

I. If you are running SP9 or higher of the J2EE Engine 6.40

proceed as follows:

1. Start the configtool in <J2EE_HOME>/configtool directory

2. Browse the tree in the left pane

cluster-data -> Global server configuration -> services -> classpath_resolver

3. In the right pane click on the key javac.Xmx

4. In the Value edit field on the bottom insert 256 ( this according to your PHYSICAL memory)

5. press the Set button in the upper right corner

6. choose from the Menu File->Apply and confirm all windows popping up

7. restart the J2EE instance

and also increase the heap memory.

look at note 710146 and following link to change the heap memory size.

http://help.sap.com/saphelp_nw04/helpdata/en/00/3ca3e81b5a4c749b860ab1ed1fb206/content.htm

regards,

kaushal

Former Member
0 Kudos

hi Kiran,

The problem could be with your Virtual Memory. Increase the system virtual memory and restart the system and server.

This happens because your system goes out of memory and once restarting the server will free the memory. if you don't want that to happen, increasing the virtual memory will help.

Regards

Ak.

Message was edited by: Arunkumar Ravi

Former Member
0 Kudos

Hi,

I have 2Gb of virtual memory in my system.still i am getting the same problem.I think server in not using proper amt of virtual memory.How can i know the amt of virtual memory server is using and the way to increase it.

Regards,

Kiran.

Former Member
0 Kudos

hi Kiran,

> I have 2Gb of virtual memory in my system.still i

This must be you RAM. This is good enough.

> l i am getting the same problem.I think server in not

> using proper amt of virtual memory.How can i know the

> amt of virtual memory server is using and the way to

> increase it.

You can find your Virtual Memory settings in <b>My Computer --> Properties --> Advanced --> Performance Settings --> Advanced</b> (where in you can change the virtual memory settings). Give it something close to 4GB on each drive on the maximum side.

You can find the usage from the task manager --> Performance tab.

<i>

You have to restart the system for the changes in Virtual Memory to take effect</i>

Regards

Ak.

Message was edited by: Arunkumar Ravi