【Tomcat】无法将位于-的资源添加到Web应用程序-的缓存中,因为在清除过期缓存条目后可用空间仍不足 - 请考虑增加缓存的最大空间

1、问题

org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [xxx] to the cache for web application [/xxx] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache

2、解决方式:

在tomcat 下的conf 文件夹中content.xml 修改里面的内容:大小默认是10240,单位是KB

<Resources cachingAllowed="true" cacheMaxSize="512000" />
相关推荐
七月丶2 分钟前
🚀 现代 Web 开发:如何优雅地管理前端版本信息?
前端
漫步云端的码农4 分钟前
Three.js场景渲染优化
前端·性能优化·three.js
悬炫4 分钟前
赋能大模型:ant-design系列组件的文档知识库搭建
前端·ai 编程
用户108386386808 分钟前
95%开发者不知道的调试黑科技:Apipost让WebSocket开发效率翻倍的秘密
前端·后端
稀土君40 分钟前
👏 用idea传递无限可能!AI FOR CODE挑战赛「创意赛道」作品提交指南
前端·人工智能·trae
OpenTiny社区41 分钟前
Node.js 技术原理分析系列 4—— 使用 Chrome DevTools 分析 Node.js 性能问题
前端·开源·node.js·opentiny
郑梓妍1 小时前
最新版本TOMCAT+IntelliJ IDEA+MAVEN项目创建(JAVAWEB)
tomcat·maven·intellij-idea
写不出代码真君1 小时前
Proxy和defineProperty
前端·javascript
乐坏小陈1 小时前
TypeScript 和 JavaScript:2025 年应该选择哪一个?【转载】
前端·javascript
百变小驴1 小时前
不懂脚手架怎么开发?手把手带你读create-vite源码!
前端·前端工程化