How to Increase Apache Tomcat Heap Memory Size
Apache Tomcat commonly used to run web apps, commonly made by Java or Spring Boot. It's trusted and well known for it's realibility and easy to maintain. But ever wonder somehow you got Out of Memory Error from your web app? And how to deal with it? Disclaimer: Not all Out of Memory means that you need to increase your heap size. Please make sure that you didn't use too much explicit objects that could have memory leaks, or check wether your un-optimized code causes this. Increasing Heap Memory from your Java installation might not help much. Each instance have it's own limiter on using Heap Sizes. So does Apache Tomcat. But is it a bad news? No, it's not a bad news at all. In fact, Apache Tomcat has a GUI to help you set the memory used by Apache Tomcat easily. To do this, please follow this step: Go to your Apache Tomcat install directory then go to the BIN folder (if you're using Tomcat 9, the path sould be C:\Program Files\Apache Software Foundation\Tomcat...