This page describes the issue most often faced by java developers - Java heap size
Java Provides exception handling to help you to solve unwanted exception that may occur while your code is running.
The Exception handling works by transferring the execution of a program to an appropriate exception handler when an exception occurs. Java exception handling is managed via five keywords: try, catch, throw, throws, and finally
This page describes how to avoid the java.lang.outofmemory Error?