This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
From research after getting the same error consistently in Eclipse 3.2 some time back it seems that excessive use of String.intern() can cause this condition. I don't know of a servlet container or JSP compiler that's guilty of that (which doesn't mean they don't exist, there must be many I've never even heard of), but if you use String.intern() in your own web application you may want to think hard about whether you really need to use it.
Joined: Apr 13, 2006
What container are you using?
I am using Tomcat Server and may i know what is the difference between PerGmen and Heap Space Error