- Thursday, December 10, 2009, 15:31
- Java
- 1,073 views
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 ...
Full story
- Monday, October 5, 2009, 21:58
- J2EE, Java
- 3,687 views
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 ...
Full story
- Monday, January 12, 2009, 12:58
- How-To, Java
- 36,519 views
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 ...
Full story