Exception in thread “ContainerBackgroundProcessor[StandardEngine[Catalina]]”
If you are using Eclipse and are deploying a web application and this error appears.
The solution to this exception is to provide more heap memory to Tomcat. Go to the Overview of the Tomcat server and then click on “Open lanch configuration”.
In the “Argument” tab, in the “VM arguments” section insert:
-XX:MaxPermSize=256m -Xms256m -Xmx1024m
Where MaxPermSize is explained at the following link.
“ At initialization of the virtual machine, the entire space for the heap is reserved. The size of the space reserved can be specified with the
-Xmx
option. If the value of the-Xms
parameter is smaller than the value of the-Xmx
parameter, not all of the space that is reserved is immediately committed to the virtual machine.” [link]