web123456

Warning: The web application [ROOT] appears to have started a thread named [Thread-48] but has failed to ...

1. Problem description

Tomcat runs web project (which relies on Java projects) and a lot of the above warnings appear. The project cannot be raised.

Keyword memory leak

 

2. Solution

Is there something wrong with the program writing?

Finally, the memory is increased in the tomcat VM parameter and solved it

-Xms512m -Xmx512m -Xmn300m -Xss2048k -XX:PermSize=512m -XX:MaxPermSize=512m

It needs to be adjusted according to the configuration of the machine