Re: Can Java access more than 2GB of memory on WIndows 32
- From: zigzagdna@xxxxxxxxx
- Date: Sat, 24 Nov 2007 14:58:35 -0800 (PST)
On Nov 24, 10:13 am, "Matt Humphrey" <ma...@xxxxxxxx> wrote:
<zigzag...@xxxxxxxxx> wrote in message
news:876c5326-9051-4ad3-b4c3-b230374d8af9@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I am getting an out of memeory exception error running a java program
on Windows 32 bit.
Memory on the box is 4GB (I know 32 bit can access up to 4GB but
Windows OS reserves 2GB for its own processes. I can increase memory
on this box from 4GB to 8GB, but my question is Java capable of
accessing this memory. In Windows memory beyond
4GB is accessible using /PAE switch and program has to be wriiten in
a ceratin way to use it, that's why my question is whether Java is
capable of accessing 8GB memory on Windows 32 bit?
Java is limited to about 1.5-1.9 GB (YMMV) on Win 32 machines. You have to
shift up to 64-bit JVM on the appropriate hardware to get a larger range.
Matt Humphreyhttp://www.iviz.com/
Windows OS has /3GB swtch which allows for 3GB user addressable space
(instead of 2GB),
so I will think java should be able to access close to 3GB (sighlt
less than 3GB). I do
not know where java heap size parameter comes into play as for as 2GB
or 3GB memory per process.
.
- Follow-Ups:
- Re: Can Java access more than 2GB of memory on WIndows 32
- From: Arne Vajhøj
- Re: Can Java access more than 2GB of memory on WIndows 32
- References:
- Can Java access more than 2GB of memory on WIndows 32
- From: zigzagdna
- Re: Can Java access more than 2GB of memory on WIndows 32
- From: Matt Humphrey
- Can Java access more than 2GB of memory on WIndows 32
- Prev by Date: Re: Great SWT Program
- Next by Date: Re: Great SWT Program
- Previous by thread: Re: Can Java access more than 2GB of memory on WIndows 32
- Next by thread: Re: Can Java access more than 2GB of memory on WIndows 32
- Index(es):
Relevant Pages
|