Skip to Content
0
Former Member
Apr 10, 2007 at 01:45 PM

JVM crashes on startup. (Error 8 allocating x Bytes)

41 Views

Hello,

I recently installed Netweaver 2004s SR2 Developer Workplace in my Windows XP development machine (Core 2 Duo 2,33Ghz and 2GB of RAM).

The problem is that I haven't been able to start the J2EE engine. I checked the "Developer Trace" (on SAP MMC) and apparently it was an issue with some misplaced dlls (see notes: 943602, 940893, 736462, 856393, 129813 and 664269) which could be corrected by setting some environment variables in order to tell jlaunch to preload the conflicting dlls.

However, after a more detailed analysis of the logs I found that there was another error. Here is the relevant excerpt from std_server0.out:

--------------------------------------------------------------------------------
stdout/stderr redirect
--------------------------------------------------------------------------------
node name   : server0
pid         : 2716
system name : DW0
system nr.  : 00
started at  : Tue Apr 10 15:33:32 2007

Error 8 allocating 0x70000000 Bytes at 0x0

Then there is the address space layout for jlaunch and then the final part of the message:

------------------------------------------------
Address                   : 0.005 sec
Elapsed Time              : 0.010 sec
Virtual total             :        0 K
Virtual free              :  2073304 K
Virtual commit            :    17780 K
Virtual reserve           :     5940 K
------------------------------------------------

[Thr 3904] MtxInit: -2 0 0
Error occurred during initialization of VM
Could not reserve enough space for object heap

Does anybody know what does that Error 8 mean and how can I solve it? Thanks in advance for any help.