cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

OutOfMemoryError! Node will exit with exit code 666

Former Member
0 Likes
1,127

Hi,

I have a ECC 6.0 SR3 with Java add-in on Windows Server 2003(64 bit)/MS SQL 2005

Physical memory on server is 6.5GB and it has two processors.

Paging size on server is: 20480 MB

ABAP stack works perfectly fine, but while performing any task on the Java end it gives message u201CDispatcher running but no server connected!u201D

On examining the log I found following exception:

java.lang.OutOfMemoryError

OutOfMemoryError! Node will exit with exit code 666

Java parameters are set as:

-Xmx2048m

-Xms2048m

-XX:PermSize=2048m

-XX:MaxPermSize=2048m

-XX:NewSize=320m

-XX:MaxNewSize=320m

Can youu2019ll please advice on how to tweak the server to get rid of this error.

Thank you,

SAM

View Entire Topic
Former Member
0 Likes

Hi Sam,

Maybe you could try lowering the PermSize and MaxPermSize values to about 512MB.

As I see the heap is 2GB and PermSize is also the same. Normally the PermSize should be lesser.

Hope it helps.

Best Regards,

Srikishan

Former Member
0 Likes

Thanks for the reply,

I have tried that setting but still no luck.

I also tried setting -XX:NewSize and -XX:MaxNewSize to 512m, this too didnt work.

Even during the peak use (the instant when the server throws this exception) there is about 1.5GB of free memory on the server. Also PF usage is constant throughout.

Thanks,

SAM

Former Member
0 Likes

Hi ,

As this is windows box you can try one reboot of system.In most of memory realtes issue a restart of box also can solve the isue.Did you tried it??

Thanks..

Mohit

Former Member
0 Likes

Please apply the whole note 723909 for the memory settings. When i got this error i applied the note and it worked.

Thanks,

Rohan

Former Member
0 Likes

Thanks all for the reply,

I have tried multiple reboots but the issue still exists.

As soon as I try anything in Portal I get the error.

I have also referred SAP Note: 723909 and all the settings are as what SAP Recommended.

Any other tips...

Former Member
0 Likes

Guys one question,

I have done this setting at the instance level,

I mean Config Tool -> cluster-data -> instance_IDXXX

Here in the sever general tab I have done the changes in Java parameters?

Is this the right place or should I be setting this parameter at the server level

I mean Config Tool -> cluster-data -> instance_IDXXX -> server_ID and then general tab at this node.

I tried doing the settings at the server node level and looks like it is working, let me monitor it for a while

Thanks,

SAM

Edited by: sam hennry on Sep 18, 2009 4:26 PM

Former Member
0 Likes

Yes you also need to apply parameter through server level. This is mentioned in the note too.