<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[管理]HeapClearShut —— 清理内存|当服务器过载时自动重启[全版本]]]></title><description><![CDATA[<p dir="auto"><em>本帖最后由 V乐乐 于 2018-3-10 08:52 编辑</em></p>
<p dir="auto">HeapClear——内存濒临检测</p>
<p dir="auto">嘛，肯定有人会说你会不会就写一个System.gc()就扔上来了？<br />
这么没诚意？？？</p>
<p dir="auto">你说得对！就是这样！<br />
观众：信不信我打死你！<br />
诶呀我错啦！！！</p>
<p dir="auto">对咯，的确是一句System.gc()，<br />
但是他还有濒临重启功能。<br />
虽然原理超级简单，<br />
但是亲测效果拔群。</p>
<p dir="auto">必要性<br />
[suo<br />
很多服主都遇到这种情况：<br />
A：诶呀我服务器内存不够用！没钱买！<br />
优化了也不能用，头疼。<br />
P：快来用这个小插件，很轻量的啦，会自动清理内存腾出内存。</p>
<p dir="auto">B：这怎么回事？我的服务器不太对头，<br />
内存会越用越多越多最后内存溢出崩服！<br />
找不到原因或我不能删了这个！<br />
P：用这个吧！他会在服务器即将崩服的前一小段时间重启！</p>
<p dir="auto">C：我服务器必须得每天重启一次，<br />
但是我定时重启会让玩家感觉不舒服都退服，<br />
怎么才能重启次数最少？<br />
P：用这个吧！他会在内存使用到达90%的时候重启，<br />
定时重启可能重启效率不够，快试试这个！<br />
[/suo]</p>
<p dir="auto">特性<br />
[suo<br />
1.给你的服务器定时清理内存[90秒一次，会全服公告]让服务器不至于内存溢出崩服<br />
2.你可以输入一个指令来查看<br />
服务器内存剩余和使用分配状况。<br />
3.在服务器濒临崩溃的时候重启，<br />
当服务器内存即将溢出崩服，<br />
甚至有可能导致回档的时候，<br />
服务器会关服重启来释放内存。<br />
正所谓，当服务器满负荷的时候最好的办法仍然是重启。<br />
让我喝杯1991年的Java压压惊<br />
[/suo]</p>
<p dir="auto">效果？<br />
[suo</p>
<p dir="auto"><img src="/assets/attachment/forum/201611/12/204025iphlbi999ma1e6eq.png" alt="图片" class="img-markdown  img-fluid" /></p>
<p dir="auto">1.在每90秒时会全服用蓝色和绿色字体公告：<br />
服务器内存释放完成。<br />
2.输入/heapclear look<br />
你就可以看到目前服务器分配的详细内存情况。<br />
3.每60秒检测一次，<br />
当服务器内存（例如分配了4GB），<br />
若发现服务器已经用了3600MB内存，<br />
会自动关闭服务器，服主记得写一个stop重启脚本。（面板服就不需要手动写了）</p>
<p dir="auto">下载地址<br />
你可以不评分<br />
但请回复证明你在使用插件我就心满意足了<br />
[suo<br />
下载地址：<a href="http://www.relatev.com/forum.php?mod=viewthread&amp;tid=19" rel="nofollow ugc">http://www.relatev.com/forum.php?mod=viewthread&amp;tid=19</a><br />
[/suo</p>
]]></description><link>https://www.zuimc.com/topic/15016/管理-heapclearshut-清理内存-当服务器过载时自动重启-全版本</link><generator>RSS for Node</generator><lastBuildDate>Mon, 30 Nov 2026 18:47:28 GMT</lastBuildDate><atom:link href="https://www.zuimc.com/topic/15016.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 12 Nov 2016 12:41:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [管理]HeapClearShut —— 清理内存|当服务器过载时自动重启[全版本] on Sun, 07 Jul 2019 05:48:30 GMT]]></title><description><![CDATA[<p dir="auto">qwq</p>
]]></description><link>https://www.zuimc.com/post/394986</link><guid isPermaLink="true">https://www.zuimc.com/post/394986</guid><dc:creator><![CDATA[wdsj12345wdsj]]></dc:creator><pubDate>Sun, 07 Jul 2019 05:48:30 GMT</pubDate></item><item><title><![CDATA[Reply to [管理]HeapClearShut —— 清理内存|当服务器过载时自动重启[全版本] on Fri, 05 Jul 2019 11:54:20 GMT]]></title><description><![CDATA[<p dir="auto">非常感谢 很好用</p>
]]></description><link>https://www.zuimc.com/post/394979</link><guid isPermaLink="true">https://www.zuimc.com/post/394979</guid><dc:creator><![CDATA[山生野长]]></dc:creator><pubDate>Fri, 05 Jul 2019 11:54:20 GMT</pubDate></item><item><title><![CDATA[Reply to [管理]HeapClearShut —— 清理内存|当服务器过载时自动重启[全版本] on Thu, 04 Jul 2019 13:39:36 GMT]]></title><description><![CDATA[<p dir="auto">666666666666</p>
]]></description><link>https://www.zuimc.com/post/394973</link><guid isPermaLink="true">https://www.zuimc.com/post/394973</guid><dc:creator><![CDATA[1078579474]]></dc:creator><pubDate>Thu, 04 Jul 2019 13:39:36 GMT</pubDate></item><item><title><![CDATA[Reply to [管理]HeapClearShut —— 清理内存|当服务器过载时自动重启[全版本] on Wed, 03 Jul 2019 07:15:42 GMT]]></title><description><![CDATA[<p dir="auto">1</p>
]]></description><link>https://www.zuimc.com/post/394967</link><guid isPermaLink="true">https://www.zuimc.com/post/394967</guid><dc:creator><![CDATA[451011019]]></dc:creator><pubDate>Wed, 03 Jul 2019 07:15:42 GMT</pubDate></item><item><title><![CDATA[Reply to [管理]HeapClearShut —— 清理内存|当服务器过载时自动重启[全版本] on Sun, 30 Jun 2019 06:46:38 GMT]]></title><description><![CDATA[<p dir="auto">6666666666</p>
]]></description><link>https://www.zuimc.com/post/394962</link><guid isPermaLink="true">https://www.zuimc.com/post/394962</guid><dc:creator><![CDATA[狼啸大大]]></dc:creator><pubDate>Sun, 30 Jun 2019 06:46:38 GMT</pubDate></item><item><title><![CDATA[Reply to [管理]HeapClearShut —— 清理内存|当服务器过载时自动重启[全版本] on Fri, 28 Jun 2019 07:03:13 GMT]]></title><description><![CDATA[<p dir="auto">挺好用的支持一下</p>
]]></description><link>https://www.zuimc.com/post/394957</link><guid isPermaLink="true">https://www.zuimc.com/post/394957</guid><dc:creator><![CDATA[88699385qwe]]></dc:creator><pubDate>Fri, 28 Jun 2019 07:03:13 GMT</pubDate></item><item><title><![CDATA[Reply to [管理]HeapClearShut —— 清理内存|当服务器过载时自动重启[全版本] on Wed, 26 Jun 2019 15:13:00 GMT]]></title><description><![CDATA[<p dir="auto">66666666666666666666666</p>
]]></description><link>https://www.zuimc.com/post/394951</link><guid isPermaLink="true">https://www.zuimc.com/post/394951</guid><dc:creator><![CDATA[wwwgo176net]]></dc:creator><pubDate>Wed, 26 Jun 2019 15:13:00 GMT</pubDate></item><item><title><![CDATA[Reply to [管理]HeapClearShut —— 清理内存|当服务器过载时自动重启[全版本] on Wed, 26 Jun 2019 07:52:11 GMT]]></title><description><![CDATA[<p dir="auto">谢谢楼主分享</p>
]]></description><link>https://www.zuimc.com/post/394946</link><guid isPermaLink="true">https://www.zuimc.com/post/394946</guid><dc:creator><![CDATA[air1204]]></dc:creator><pubDate>Wed, 26 Jun 2019 07:52:11 GMT</pubDate></item><item><title><![CDATA[Reply to [管理]HeapClearShut —— 清理内存|当服务器过载时自动重启[全版本] on Tue, 25 Jun 2019 04:27:03 GMT]]></title><description><![CDATA[<p dir="auto">6666666</p>
]]></description><link>https://www.zuimc.com/post/394941</link><guid isPermaLink="true">https://www.zuimc.com/post/394941</guid><dc:creator><![CDATA[zombiefrisk]]></dc:creator><pubDate>Tue, 25 Jun 2019 04:27:03 GMT</pubDate></item><item><title><![CDATA[Reply to [管理]HeapClearShut —— 清理内存|当服务器过载时自动重启[全版本] on Thu, 20 Jun 2019 06:19:35 GMT]]></title><description><![CDATA[<p dir="auto">666666666666666666</p>
]]></description><link>https://www.zuimc.com/post/394935</link><guid isPermaLink="true">https://www.zuimc.com/post/394935</guid><dc:creator><![CDATA[sos002]]></dc:creator><pubDate>Thu, 20 Jun 2019 06:19:35 GMT</pubDate></item><item><title><![CDATA[Reply to [管理]HeapClearShut —— 清理内存|当服务器过载时自动重启[全版本] on Sun, 16 Jun 2019 09:27:22 GMT]]></title><description><![CDATA[<p dir="auto">额</p>
]]></description><link>https://www.zuimc.com/post/394927</link><guid isPermaLink="true">https://www.zuimc.com/post/394927</guid><dc:creator><![CDATA[QQ1215662641]]></dc:creator><pubDate>Sun, 16 Jun 2019 09:27:22 GMT</pubDate></item><item><title><![CDATA[Reply to [管理]HeapClearShut —— 清理内存|当服务器过载时自动重启[全版本] on Sat, 15 Jun 2019 14:34:05 GMT]]></title><description><![CDATA[<p dir="auto">真好</p>
]]></description><link>https://www.zuimc.com/post/394922</link><guid isPermaLink="true">https://www.zuimc.com/post/394922</guid><dc:creator><![CDATA[1546]]></dc:creator><pubDate>Sat, 15 Jun 2019 14:34:05 GMT</pubDate></item><item><title><![CDATA[Reply to [管理]HeapClearShut —— 清理内存|当服务器过载时自动重启[全版本] on Sat, 15 Jun 2019 00:50:31 GMT]]></title><description><![CDATA[<p dir="auto">看起来很实用</p>
]]></description><link>https://www.zuimc.com/post/394916</link><guid isPermaLink="true">https://www.zuimc.com/post/394916</guid><dc:creator><![CDATA[meng_xing_tong]]></dc:creator><pubDate>Sat, 15 Jun 2019 00:50:31 GMT</pubDate></item><item><title><![CDATA[Reply to [管理]HeapClearShut —— 清理内存|当服务器过载时自动重启[全版本] on Fri, 07 Jun 2019 06:47:59 GMT]]></title><description><![CDATA[<p dir="auto">感谢楼主分享</p>
]]></description><link>https://www.zuimc.com/post/394913</link><guid isPermaLink="true">https://www.zuimc.com/post/394913</guid><dc:creator><![CDATA[Xbai_qqz]]></dc:creator><pubDate>Fri, 07 Jun 2019 06:47:59 GMT</pubDate></item><item><title><![CDATA[Reply to [管理]HeapClearShut —— 清理内存|当服务器过载时自动重启[全版本] on Fri, 07 Jun 2019 05:33:26 GMT]]></title><description><![CDATA[<p dir="auto">多谢你的插件喽</p>
]]></description><link>https://www.zuimc.com/post/394906</link><guid isPermaLink="true">https://www.zuimc.com/post/394906</guid><dc:creator><![CDATA[MC莫绝]]></dc:creator><pubDate>Fri, 07 Jun 2019 05:33:26 GMT</pubDate></item><item><title><![CDATA[Reply to [管理]HeapClearShut —— 清理内存|当服务器过载时自动重启[全版本] on Thu, 06 Jun 2019 13:43:06 GMT]]></title><description><![CDATA[<p dir="auto">468468</p>
]]></description><link>https://www.zuimc.com/post/394900</link><guid isPermaLink="true">https://www.zuimc.com/post/394900</guid><dc:creator><![CDATA[阿里看见的会]]></dc:creator><pubDate>Thu, 06 Jun 2019 13:43:06 GMT</pubDate></item><item><title><![CDATA[Reply to [管理]HeapClearShut —— 清理内存|当服务器过载时自动重启[全版本] on Wed, 05 Jun 2019 12:32:52 GMT]]></title><description><![CDATA[<p dir="auto">对于我这4g内存的服务器算是大救星啦</p>
]]></description><link>https://www.zuimc.com/post/394896</link><guid isPermaLink="true">https://www.zuimc.com/post/394896</guid><dc:creator><![CDATA[KillerOfMC]]></dc:creator><pubDate>Wed, 05 Jun 2019 12:32:52 GMT</pubDate></item><item><title><![CDATA[Reply to [管理]HeapClearShut —— 清理内存|当服务器过载时自动重启[全版本] on Fri, 24 May 2019 15:39:38 GMT]]></title><description><![CDATA[<p dir="auto">拿走感谢lz<br />
期待更新新功能</p>
]]></description><link>https://www.zuimc.com/post/394888</link><guid isPermaLink="true">https://www.zuimc.com/post/394888</guid><dc:creator><![CDATA[2589516494]]></dc:creator><pubDate>Fri, 24 May 2019 15:39:38 GMT</pubDate></item><item><title><![CDATA[Reply to [管理]HeapClearShut —— 清理内存|当服务器过载时自动重启[全版本] on Wed, 08 May 2019 09:25:41 GMT]]></title><description><![CDATA[<p dir="auto">66666666666666</p>
]]></description><link>https://www.zuimc.com/post/394883</link><guid isPermaLink="true">https://www.zuimc.com/post/394883</guid><dc:creator><![CDATA[hck1]]></dc:creator><pubDate>Wed, 08 May 2019 09:25:41 GMT</pubDate></item><item><title><![CDATA[Reply to [管理]HeapClearShut —— 清理内存|当服务器过载时自动重启[全版本] on Sat, 04 May 2019 04:46:03 GMT]]></title><description><![CDATA[<p dir="auto">666666666666666</p>
]]></description><link>https://www.zuimc.com/post/394877</link><guid isPermaLink="true">https://www.zuimc.com/post/394877</guid><dc:creator><![CDATA[qijie20589]]></dc:creator><pubDate>Sat, 04 May 2019 04:46:03 GMT</pubDate></item><item><title><![CDATA[Reply to [管理]HeapClearShut —— 清理内存|当服务器过载时自动重启[全版本] on Mon, 29 Apr 2019 12:20:35 GMT]]></title><description><![CDATA[<p dir="auto">感谢！正好需要</p>
]]></description><link>https://www.zuimc.com/post/394870</link><guid isPermaLink="true">https://www.zuimc.com/post/394870</guid><dc:creator><![CDATA[cyylhya]]></dc:creator><pubDate>Mon, 29 Apr 2019 12:20:35 GMT</pubDate></item><item><title><![CDATA[Reply to [管理]HeapClearShut —— 清理内存|当服务器过载时自动重启[全版本] on Mon, 15 Apr 2019 11:14:21 GMT]]></title><description><![CDATA[<p dir="auto">顶</p>
]]></description><link>https://www.zuimc.com/post/394865</link><guid isPermaLink="true">https://www.zuimc.com/post/394865</guid><dc:creator><![CDATA[态度小康]]></dc:creator><pubDate>Mon, 15 Apr 2019 11:14:21 GMT</pubDate></item><item><title><![CDATA[Reply to [管理]HeapClearShut —— 清理内存|当服务器过载时自动重启[全版本] on Mon, 15 Apr 2019 11:11:46 GMT]]></title><description><![CDATA[<p dir="auto">顶一下</p>
]]></description><link>https://www.zuimc.com/post/394859</link><guid isPermaLink="true">https://www.zuimc.com/post/394859</guid><dc:creator><![CDATA[态度小康]]></dc:creator><pubDate>Mon, 15 Apr 2019 11:11:46 GMT</pubDate></item><item><title><![CDATA[Reply to [管理]HeapClearShut —— 清理内存|当服务器过载时自动重启[全版本] on Mon, 15 Apr 2019 11:11:07 GMT]]></title><description><![CDATA[<p dir="auto">顶</p>
]]></description><link>https://www.zuimc.com/post/394853</link><guid isPermaLink="true">https://www.zuimc.com/post/394853</guid><dc:creator><![CDATA[态度小康]]></dc:creator><pubDate>Mon, 15 Apr 2019 11:11:07 GMT</pubDate></item></channel></rss>