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..........