Blogger

Delete comment from: Javarevisited

Hi Sandeep,

As per my knowledge ,String pool gets created in PERM area of Java Heap , so if there are too many String there is good chance of OutOfMemoryError because garbage collection doesn't happen in PERM area of java heap.

Thanks
Javin

Jan 19, 2011, 5:59:21 AM


Posted to Why String is Immutable or Final in Java? Explained

Google apps
Main menu