java.lang.OutOfMemoryError: Java heap space
The quick solution is to add these flags to JVM command line when Java runtime is started: - -Xms1024m -Xmx1024m
java.lang.OutOfMemoryError: PermGen space
The solution is to add these flags to JVM command line when Java runtime is started: - -XX:+CMSClassUnloadingEnabled-XX:+CMSPermGenSweepingEnabled
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)
Thursday, November 1, 2012
Long Term Solution for java.lang.OutOfMemoryError:
This Error is thrown when the Java Virtual Machine cannot allocate an
object because it is out of memory, and no more memory could be made
available by the garbage collector. Note: Its an Error (extends java.lang.Error) not Exception. Two important types of OutOfMemoryError are often encountered
Labels:
JAVA
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment