Top 10 OutOfMemoryErrors in Java

JVM triggers java.lang.OutOfMemoryError, when it finds that there is no enough memory in a certain memory segment. The following 10 OutOfMemoryErrors are the most frequently occurring OutOfMemoryErrors in Java applications. They are listed based on their frequency of occurrences.