Name: rmT116609 Date: 09/16/2004
A DESCRIPTION OF THE REQUEST :
The total size of memory available via ByteBuffer.allocateDirect is controlled by the JVM command line parameter -XX:MaxDirectMemorySize, and in 5.0-RC on 64-bit Windows XP defaults to a value of around 900 MB. By specifying a value on the command line you can raise this space to 2047 MB. However, 2047 MB appears to be the largest value allowed, and doesn't allow allocating very large NIO buffers in the very large memroy space available to 64-bit applications.
JUSTIFICATION :
To allow NIO buffer sizes that are more than a tiny fraction of the available process address space.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Allowable NIO buffer space either unlimited or with a reasonable limit compared to amount of process address space.
ACTUAL -
NIO buffer space limited to 2047 MB max.
(Incident Review ID: 310935)
======================================================================