Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

J2EE 70 does not start - OutOfMemoryError rc=666

We have NTW04s ABAP+J2EE (ut. EP, BI) on Win 32 bit, 2048 RAM installed.

The J2SDk is 1.4.2_17.

We applied the parameters of note 723909 and 1044330 for Win32 (-Xms and -Xmx=1024m, Perm and MaxPerm=256m, new and MaxNew=160m) anyway the J2EE server0 does not come up.

It start and arrive in state 'Starting Apps' in MMC and into the log std_server0.out we see 'Framework started' but after that we see these entries:

".....

730.927: [GC 730.927: [ParNew: 239922K->70400K(245760K), 0.3252431 secs] 293939K->128044K(966656K), 0.3253927 secs]

FATAL: Caught OutOfMemoryError! Node will exit with exit code 666

===========================================

getThreadDump : Tue Jun 10 15:42:50 2008

FATAL: Caught OutOfMemoryError! Node will exit with exit code 666

===========================================

java.lang.OutOfMemoryError: unable to create new native thread ......."

As note 1044330 says the ut BI Java require more Heap in the Perm area, and we suspect there is not free heap memory to start the J2EE applications, we try to enlarge it to 512m (perm and maxperm) but the J2EE server0 does not come up at all.

Into the std_server0.out we see these entries:

"....Reserved 1610612736 (0x60000000) bytes before loading DLLs.

[Thr 4876] MtxInit: -2 0 0

Error occurred during initialization of VM

Could not reserve enough space for object heap"

We try also with perm and maxperm equal to 320m, but the result is the same.

We reduced the Abap instance at minimal as number of work process, buffers and Phys_mem_size. We reduced also the Oracle SGA at minimal.

Any advise ?

bye

Not what you were looking for? View more on this topic or Ask a question