Administrator
|
The memory that you are allocated is taken from your physical memory.
It is allocated by OS from your physical memory.
So, it is correct to check the memory using free command.
however, please read java documentation about Xmx and Xms parameters.
Xmx is the max value.
Xms it the initial allocation value.
Still, you may not see the memory allocation of the jvm memory until it is really allocated.
The space reserved for Java Heap is not immediately allocated in RAM.
So when the Java Heap is not used, it wont consume memory.
|