Garry's Mod

Garry's Mod

评价数不足
BlinkGC | No more Out of LUA Memory! Reupload
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 工具
插件标签: 快乐, 写实
文件大小
发表于
1.970 KB
10 月 15 日 下午 2:44
1 项改动说明 ( 查看 )

订阅以下载
BlinkGC | No more Out of LUA Memory! Reupload

描述
This a reupload of BlinkGC addon
As far as i can tell and i still have no idea, this addon is either removed or privated for no appearent reason
This addon checks the client's current LUA memory, if too much moemry is being used, it will manually call for collection of unused memory, sort of a measure to prevent out of LUA memory crash error

Im not the original creator nor i can maintain it

Original Descripton:

Do you have a server with LUA Memory intense addons like PAC3?

This addon will check your client's current LUA memory and if too much memory is being used, will manually call for a collection of unused memory.

I created this addon to help large servers with PAC that suffered from LUA Memory issues, it's a simple addon and it's also on github if anyone's interested.

Github Page[github.com]

Convars

blink_gc_memory | Default : 768432 (768MB) | Min 262144, Max 978944 | Sets the memory before action is taken, in KB, GMOD can not go over 1GB of memory, use this tool[www.convertunits.com] to determine the KB from how many MB you want to set it at.
blink_gc_enable | Default 1 | Toggles the Garbage Collector.
blink_gc_print | 0 | Toggles the console messages by the Garbage Collector.
blink_gc_luamemory | Will print your LUA memory, requires blink_gc_print to be active

Features
Reduces the amount of crashes you have due to bloated addons.
Gives information in your console about your Active LUA Memory.

Reuploader's Note: please Check the github page for the code and dont bother too much if something goes wrong