admin管理员组文章数量:1794759
consider increasing the maximum size of the cache. After eviction approximately [9,230] KB of data
业务场景
springboot项目,使用外置tomcat启动项目。在真实环境部署的时候,项目正常启动后提示 consider increasing the maximum size of the cache. After eviction approximately [9,230] KB of data remained in the cache
产生原因:
由于项目本身中存在众多无用的配置以及无用的代码,静态文件等, 导致的项目所以console警告缓存不够。
解决方案解决方案就是把缓存弄大点。一开始没耐心看答案,直接把代码加进server.xml了,正确的应该是加到context.xml
<Resources cachingAllowed="true" cacheMaxSize="100000" />
本文标签: sizecacheincreasingmaximumeviction
版权声明:本文标题:consider increasing the maximum size of the cache. After eviction approximately [9,230] KB of data 内容由林淑君副主任自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.xiehuijuan.com/baike/1686550044a80756.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论