If we get an outofmemory error on java you can do the following: 1. If you are running your java program using eclipse a. right click on project --> Run As --> Java Application --> Select Run Configurations b. Give -Xms1024m in Arguments Tab --> VM arguments: This sets the virtual memory to 1 GB for jvm to run
Being in the industry for almost two decades, one thing that's been constant is change and my curiosity. I In this fast world of IT...being curious, learning and learning by doing is quintessential :) Here is my way of learning and sharing what I learnt!!! Author: Sirisha Reddy G V