JRockit 8.1 SP1- Unable to allocate very large heaps even with /3GB param in BOOT.INI (Doc ID 774130.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle JRockit / JRockit / 8,1
Information in this document applies to any platform

Goal

JRockit is unable to allocate very large heaps (2G+) even with the /3GB param specified in BOOT.INI in Win2K advanced
server (see 
http://e-docs.bea.com/wljrockit/docs142/tuning/config.html#1012655).  When the following command is run:
bin\java -Xms2g -Xmx2g -verbosegc -version, the following message is displayed:

[memory ] Unable to aquire some virtual address space - reduced from 2147483648 to 1942126592 bytes!
[memory ] Generational Concurrent collector
[memory ] nursery 10240K, heap 1886368K, maximal heap 2097152K
[memory ] <start>: Nursery GC <before>K-><after>K (<heap>K), <total> ms
[memory ] <s>-<end>: GC <before>K-><after>K (<heap>K), <total> s (<pause>
ms)
[memory ] <s/start> - start time of collection (seconds since jvm start)
[memory ] <end>     - end time of collection (seconds since jvm start)
[memory ] <before>  - memory used by objects before collection (KB)
[memory ] <after>   - memory used by objects after collection (KB)
[memory ] <heap>    - size of heap after collection (KB)
[memory ] <total>   - total time of collection (seconds or milliseconds)
[memory ] <pause>   - total pause time during collection (milliseconds)
java version "1.4.1_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_03)
BEA WebLogic JRockit(R) Virtual Machine (build 8.1sp1-1.4.1_03-viking-Load7-win32-sthqa28-20030619-1312, Native
Threads
 Generational Concurrent Garbage Collector)

The behaviour is the same with the Sun JVM as well.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms