This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have single web application running in tomcat 5.0. While generating some report, application is running out of memory. hence throws exception java.lang.OutOfMemoryError: Java heap space I know, this can be solved by increasing JVM memory allocation. But at first place, I want to avoid the exception being seen by the user. Hence I, tried out web.xml enrty for the outOfmemory error, still it shows the exception on the screen.