Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 633
  • Last Modified:

Sun JDK 1.5.0.6 with Jconsole Total physical memory: 2.097.151 kbytes Free physical memory: 2.097.151 kbytes are the same?

We are using a Windows 2003 Enterprise server with 8 GB internal memory and 8 GB pagefile.

When we run Jconsole we see the same amounts for Total physical memory: 2.097.151 kbytes Free physical memory: 2.097.151 kbytes? Why is this and how can we use more memory than 2 GB?
0
petermolit
Asked:
petermolit
1 Solution
 
Ajay-SinghCommented:
you need to start the application with this option

-Xmx4000m


if you want the application to consume 4G of memory

by default, jvm allocates 1/4 of available memory
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now