How to solve Java.lang.OutOfMemoryError: Java heap spac
Advertisements
| Top Tutorials | New Tutorials | Submit | Login | Register |
Tutorial Detail
How to solve Java.lang.OutOfMemoryError: Java heap spac
If you are familiar with different generations on heap and How garbage collection works in java and aware of new, old and permanent generation of heaphttp://javarevisited.blogspot.com/2011/09/javalangoutofmemoryerror-permgen-space.html
Total Hits: 3925
Total Votes: 24 votes
Category: JAVA/Core JAVA
Submitted on: 2011-09-04 10:24:59
Submitted By: Javin Paul
Description:
If you are familiar with different generations on heap and How garbage collection works in java and aware of new, old and permanent generation of heap space then you would have easily figured out this OutOfMemoryError in Java. Permanent generation of heap is used to store String pool and various Meta data required by JVM related to Class, method and other java primitives. Since in most of JVM default size of Perm Space is around "64MB" you can easily ran out of memory if you have too many classes or huge number of Strings in your project. More detail...Rating Detail
| Stars | Percentage | Total Vote |
|---|---|---|
![]() |
![]() ![]() 16.67% |
4 |
![]() ![]() |
![]() ![]() 16.67% |
4 |
![]() ![]() ![]() |
![]() ![]() 16.67% |
4 |
![]() ![]() ![]() ![]() |
![]() ![]() 16.67% |
4 |
![]() ![]() ![]() ![]() ![]() |
![]() ![]() 16.67% |
4 |





16.67%

16.67%

16.67%

16.67%

16.67%