
So it is very critical to allocate sufficient memory while running the application in a production environment. If you continue with the default Tomcat configuration, you might see frequent OutOfMemoryError exceptions due to low memory space.


As the application grows, the memory usage also increases. Developed and maintained by Apache Software Foundation, Tomcat is a very popular web container that is used by top companies in the world.īy default, the memory allocated to Tomcat is good enough for running a small application. Apache Tomcat is an open-source web server with a servlet container for running web Java applications.
