consider increasing the maximum size of the cache

下午打了一个小盹,等醒来的时候,启动Tomcat,Tomcat报了满屏的警告。。。

[2017-06-20 07:53:20,948] Artifact cms:war exploded: Artifact is being deployed, please wait...
20-Jun-2017 19:53:23.193 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/admin/main/js/plugins/webuploader/webuploader.nolog.js] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.196 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/admin/main/js/plugins/webuploader/webuploader.nolog.min.js] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.198 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/admin/main/js/plugins/webuploader/webuploader.withoutimage.js] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.200 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/admin/main/js/plugins/webuploader/webuploader.withoutimage.min.js] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.214 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/jquery] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.216 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/jquery-2.2.3.min.js] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.217 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/layer] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.218 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/security] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.219 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/tree-table] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.220 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/ztree] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.222 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/bootstrap/bootstrap.txt] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.223 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/bootstrap/css] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.223 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/bootstrap/fonts] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.225 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/bootstrap/js] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.227 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/bootstrap/css/bootstrap-theme.css] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.229 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/bootstrap/css/bootstrap-theme.css.map] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.231 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/bootstrap/css/bootstrap-theme.min.css] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.232 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/bootstrap/css/bootstrap.css] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.234 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/bootstrap/css/bootstrap.css.map] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.235 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/bootstrap/css/bootstrap.min.css] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.238 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/bootstrap/fonts/glyphicons-halflings-regular.eot] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.239 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/bootstrap/fonts/glyphicons-halflings-regular.svg] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.241 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/bootstrap/fonts/glyphicons-halflings-regular.ttf] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.243 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/bootstrap/fonts/glyphicons-halflings-regular.woff] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.244 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/bootstrap/fonts/glyphicons-halflings-regular.woff2] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.247 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/bootstrap/js/bootstrap.min.js] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.248 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/bootstrap/js/npm.js] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.250 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/bootstrap-datepicker-master/css] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.253 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/bootstrap-datepicker-master/js] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
20-Jun-2017 19:53:23.255 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/src/main/webapp/static/common/bootstrap-datepicker-master/locales] to the cache for web application [/cms] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache

提醒服务器内存不足,解决方案是:

在Tomcat的安装目录下,conf文件夹里面的context.xml,添加:

<Resources cachingAllowed="true" cacheMaxSize="100000" />
时间: 2024-09-28 19:05:51

consider increasing the maximum size of the cache的相关文章

here was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache

tomcat重启后报以下错误: 09-Dec-2016 10:57:49.150 WARNING [localhost-startStop-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/struts/PersonnelActio n.xml] to the cache because there was insufficient free

Tomcat 警告:consider increasing the maximum size of the cache

安装Jenkins日志中出现如下警告: 24-Aug-2017 10:30:29.462 警告 [http-nio-8080-exec-2] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/jsbundles/config-tabbar.js] to the cache for web application [/jenkins] because there was insuff

[LeetCode] Maximum Size Subarray Sum Equals k 最大子数组之和为k

Given an array nums and a target value k, find the maximum length of a subarray that sums to k. If there isn't one, return 0 instead. Example 1: Given nums = [1, -1, 5, -2, 3], k = 3, return 4. (because the subarray [1, -1, 5, -2] sums to 3 and is th

325. Maximum Size Subarray Sum Equals k

Given an array nums and a target value k, find the maximum length of a subarray that sums to k. If there isn't one, return 0 instead. Note: The sum of the entire nums array is guaranteed to fit within the 32-bit signed integer range. Example 1: Given

[Locked] Maximum Size Subarray Sum Equals k

Example 1: Given nums = [1, -1, 5, -2, 3], k = 3,return 4. (because the subarray [1, -1, 5, -2] sums to 3 and is the longest) Example 2: Given nums = [-2, -1, 2, 1], k = 1,return 2. (because the subarray [-1, 2] sums to 1 and is the longest) Follow U

[?]*Maximum Size Subarray Sum Equals k

Given an array nums and a target value k, find the maximum length of a subarray that sums to k. If there isn't one, return 0 instead. Example 1: Given nums = [1, -1, 5, -2, 3], k = 3,return 4. (because the subarray [1, -1, 5, -2] sums to 3 and is the

Leetcode: Maximum Size Subarray Sum Equals k

Given an array nums and a target value k, find the maximum length of a subarray that sums to k. If there isn't one, return 0 instead. Example 1: Given nums = [1, -1, 5, -2, 3], k = 3, return 4. (because the subarray [1, -1, 5, -2] sums to 3 and is th

LeetCode 325. Maximum Size Subarray Sum Equals k

类似sum的题都可以想一想可不可以把sum依次求出来,然后 [i+1,j] 的sum 直接用 sum[j]-sum[i]来求. 由于这道题有负数存在,没办法用sliding window来做,只能另辟蹊径. 用一个hashtable保存到目前为止的sum所对应的index,这样之后知道寻找 sum-k 在不在hashtable里就行了.如果遇到sum相同的情况,不要更新hashtable,因为更新了,subarray的size必然是减小的. class Solution { public: in

Maximum Size Subarray Sum Equals k LT325

Given an array nums and a target value k, find the maximum length of a subarray that sums to k. If there isn't one, return 0 instead. Note:The sum of the entire nums array is guaranteed to fit within the 32-bit signed integer range. Example 1: Given