uncle bob
uncle bob

Reputation: 680

Tomcat 8 has warning about not able to free cache of background cache eviction process

I'm developing an app on spring mvc and sometime i see this message in console:

The background cache eviction process was unable to free [10] percent of the cache for Context [/myApp] - consider increasing the maximum size of the cache. After eviction approximately [9,501] KB of data remained in the cache.

Why and What should i do now?

Thanks all

Upvotes: 9

Views: 13063

Answers (1)

Mohamed NAOUALI
Mohamed NAOUALI

Reputation: 2132

This message is related to your tomcat server,

In your $CATALINA_BASE/conf/context.xml add block below before </Context>

<Resources cachingAllowed="true" cacheMaxSize="100000" />

Upvotes: 14

Related Questions