• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 646
  • 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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