Skip to main content
deleted 45 characters in body
Source Link
javanna
  • 60.4k
  • 14
  • 147
  • 125

i hadI have an application which will use 300 million size of hash maps  .for For that iI initialized the JVM with initial and maximum heap size of 16 GB i.e. (java -Xms16384M -Xmx16384M) but iI am getting java out of memory errorOutOfMemoryError. my machine is having 32 GB RAM with RED hatRedHat Linux operating system installed  . iI observed that JVM is using only 25% of RAM from "top" command in Linux i.e 8GB even though i set it for 16GB it is using only 8GB  .

iI want to know that isif JVM is limiting the RAM?

howHow to configure JVM to use complete min and max heap size given?

Please provide me a solution..........

i had an application which will use 300 million size of hash maps  .for that i initialized the JVM with initial and maximum heap size of 16 GB i.e. (java -Xms16384M -Xmx16384M) but i am getting java out of memory error. my machine is having 32 GB RAM with RED hat Linux operating system installed  . i observed that JVM is using only 25% of RAM from "top" command in Linux i.e 8GB even though i set it for 16GB it is using only 8GB  .

i want to know that is JVM is limiting the RAM?

how to configure JVM to use complete min and max heap size given?

Please provide me a solution..........

I have an application which will use 300 million size of hash maps. For that I initialized the JVM with initial and maximum heap size of 16 GB i.e. (java -Xms16384M -Xmx16384M) but I am getting java OutOfMemoryError. my machine is having 32 GB RAM with RedHat Linux operating system installed. I observed that JVM is using only 25% of RAM from "top" command in Linux i.e 8GB even though i set it for 16GB it is using only 8GB.

I want to know that if JVM is limiting the RAM?

How to configure JVM to use complete min and max heap size given?

Source Link

Getting java out of memory error? even though i given enough initial and max memory sizes to JVM

i had an application which will use 300 million size of hash maps .for that i initialized the JVM with initial and maximum heap size of 16 GB i.e. (java -Xms16384M -Xmx16384M) but i am getting java out of memory error. my machine is having 32 GB RAM with RED hat Linux operating system installed . i observed that JVM is using only 25% of RAM from "top" command in Linux i.e 8GB even though i set it for 16GB it is using only 8GB .

i want to know that is JVM is limiting the RAM?

how to configure JVM to use complete min and max heap size given?

Please provide me a solution..........