OutOfMemory
If you are not new to development, you may have been bitten by the in famous OutOfMemory exception. This is the last thing you want to get on a production application as some companies may loose million dollars per minute in cases of server failure. You may have guessed the meaning of the OutOfMemory exception. Yes, you are right, your application has used up all the available memory allocated to JVM. You may be thinking, since the server resources are so cheap, you can just add more RAM and this problem will go away. Well, this approach may work for a couple of days. Increasing server resources is not the answer. If you have a memory leak in your code, then no matter how much memory you add, you are going to come to the same ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access