Posts Tagged ‘java heap size’

Simple Guide To Understand Resource Profile of Java Application

Simple Guide To Understand Resource Profile of Java Application
Synopsis This note describes a few simple commands on how to view the RAM and CPU usage of your Java process. It provides brief pointers on how to identify the influencing parameters and how to tweak it.Memory Java Heap The heap size of your Java process can be controlled by using a combination of –Xmx and –Xms. The heap size ...

Setting Tomcat Heap Size (JVM Heap) in Eclipse

Setting Tomcat Heap Size (JVM Heap) in Eclipse
Recently while running Tomcat under Eclipse for one of the web application I was getting Java Heap memory related error java.lang.OutOfMemoryError. What needs to be done here basically is to increase the jvm heap size. So for increasing the JVM Heap Size of Tomcat in Eclipse we have to set few VM arguments of the tomcat.Follow ...

Playing with JVM / Java Heap Size.

Playing with JVM / Java Heap Size.
Java programs executes in JVM uses Heap of memory to manage the data. If your Java program requires a large amount of memory, it is possible that the virtual machine will begin to throw OutOfMemoryError instances when attempting to instantiate an object. The default heap size if 1 MB and can increase as much as 16 ...