- For old generation space OutOfMemoryErrors
- increase -Xms and -Xmx
- For permanent generation OutOfMemoryErrors
- increase -XX:PermSize and -XX:MaxPermSize
Labels
- Apache (10)
- Articles (4)
- BPM Tools (5)
- Glassfish (16)
- Hadoop (10)
- HP ALM (6)
- HP SOA Systinet (14)
- Issues (19)
- JAVA (85)
- JBoss (16)
- jQuery (4)
- Load Runner (37)
- Quality Center (49)
- Testing (24)
- Tips and Tricks (16)
- Tomcat (4)
- Usefull Links (18)
- Weblogic (41)
- WebSphere (2)
Monday, February 4, 2013
Java Heap Size Adjustment
If you observe an OutOfMemoryError in
the garbage collection logs, try increasing the Java heap size to 80%
of the physical memory you have available for the JVM. Based on
whether the old generation space or the permanent generation space is running out of memory, you adjust the sizes of heap spaces in this way[10]:
Labels:
Tips and Tricks
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment