JVM and 2BG limited physical memory

Hello, my server has 4 BG of RAM. I use jconsole and it notices me I have only 2 GB. Is it a limit of JVM? Can I config JVM to detect and use my 4 GB?I hope someone can help me. Thanks
[205 byte] By [tuchicolatinoa] at [2007-11-27 6:33:51]
# 1
What platform? The 32-bit VM is limited to a theoretical (4G - 1) bytes.
YoGeea at 2007-7-12 17:59:53 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 2
Operative System: Windows 2003You can see an screenshot of my jconsole: http://www.jcabello.es/screenshot.jpg
tuchicolatinoa at 2007-7-12 17:59:53 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 3
Depending on what other libraries get loaded the 32-bit vm is limited to around 1.3 GB on windows.You only have 2 GB of physical memory, you don't want the heap going into swap space.
YoGeea at 2007-7-12 17:59:53 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 4
No, the problem is the jconsole says: "2 GB of physical memory" and my server has 4 GB :-(Is JVM not using my complete RAM memory?And how can I know if my libraries are limiting my JVM?
tuchicolatinoa at 2007-7-12 17:59:53 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 5
Its a limitation you have on 32bit OSs such as your windows. On Solaris for instance with a 32bit Java process you can get ~4GB of memory space.Woody
Woody.Benotya at 2007-7-12 17:59:53 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 6

> No, the problem is the jconsole says: "2 GB of

> physical memory" and my server has 4 GB :-(

>

> Is JVM not using my complete RAM memory?

>

> And how can I know if my libraries are limiting my

> JVM?

And so what possible difference does it make?

As stated above the limit with the 32 bit Sun VM is 1.4 gigs. So even if it said 4 gigs you still couldn't use it.

jschella at 2007-7-12 17:59:53 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 7
The problem is when I execute several times the JVM at same time. My software is running in a server and maybe my applications can磘 use more than 2 GB (together).Thanks :-)
tuchicolatinoa at 2007-7-12 17:59:53 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 8

> The problem is when I execute several times the JVM

> at same time. My software is running in a server and

> maybe my applications can磘 use more than 2 GB

> (together).

Nope.

Each application is mapped into the application address space.

Thus each VM will have 1.4 gigs available. The physical memory will impact how much swapping occurs.

jschella at 2007-7-12 17:59:53 > top of Java-index,Java HotSpot Virtual Machine,Specifications...