Exception in thread “ContainerBackgroundProcessor[StandardEngine[Catalina]]”

Gioacchino Lonardo
2 min readOct 1, 2018

--

If you are using Eclipse and are deploying a web application and this error appears.

Exception

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”.

Tomcat Overview

In the “Argument” tab, in the “VM arguments” section insert:

-XX:MaxPermSize=256m -Xms256m -Xmx1024m
Argument

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 -Xmxoption. 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]

--

--

Gioacchino Lonardo
Gioacchino Lonardo

Written by Gioacchino Lonardo

Computer Engineer, AI enthusiast, biker, guitar&bass player

No responses yet