Everyone knows that it happens many times that a JVM runs into an “Out of Memory” condition. If it happens one time, no problem. Usually a simple restart of the application should solve the problem. But if you continuesly spending time in restarting, it is time to analyze why the application is running out of…