Shared Tutorials
Tutorials Shared by the Internet Community
Advertisements
| Top Tutorials | New Tutorials | Submit | Login | Register |
Tutorial Basic 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: 3924
Total Votes: 24 votes
Average Rating: 2.5 out of 5
Category: JAVA/Core JAVA
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.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%