My server has 24GB of RAM. It is running on Windows Server 2008. Right now, I’m looking and about 80% of it is free. However when I try to run a Java app, the maximum value I can give to its heap size is –Xmx1500m. If I try -Xmx1600m or -Xmx2G the app will fail to start. Is this a problem with Java or my app?
My server has 24GB of RAM. It is running on Windows Server 2008. Right
Share
32-bit processes have this limit under Windows. The maximum amount of memory a 32-bit process can use is 2G. You can easily solve this problem by upgrading to a 64-bit version of Java.