Garry's Mod

Garry's Mod

99 ratings
Simple Garbage Collector
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Roleplay
File Size
Posted
Updated
920.000 B
18 Nov, 2021 @ 1:57pm
18 Nov, 2021 @ 6:46pm
2 Change Notes ( view )

Subscribe to download
Simple Garbage Collector

Description


This addon is the simplest patch for mod collections that do not work properly with environment variables.
Simple Garbage Collector stops automatic garbage collection and performs its actions once a minute step by step in a coroutine, preventing it from consuming more than 1/300 of a second per iteration.

Also, check out my other resources
GitHub: https://github.com/technoatomictangerine
Search tags: cpu performance optimization fps ram
15 Comments
大佬鱼干 6 Jul @ 12:55am 
fuck you error
Keeper Of The Rats🧙  [author] 23 Oct, 2022 @ 3:05pm 
This addon does nothing more than change the garbage cleanup approach to be more passive and fps friendly. For me personally, this is a solution to frame loss on weak computers during garbage collection. However, this is more or less the public version of what I use in my builds. For example, as a result of debugging on my game mode, I found out that "garbage" does not form in my builds because I use tables, and do not leave them die.
Maybe it somehow conflicts with overengineered addons, which I can't know for sure.
Please report such cases.
fat catgirl zoey is catting rn!! 22 Oct, 2022 @ 9:44pm 
Not an addon for me. Either something's wrong with it, or the regular automatic garbage collection is saving my existing setup from breaking. For me this addon causes lots (100MB+) of initial extra lua memory load, and seems to allow things to leak memory (or has one itself) until the game crashes. So, not for my setup.
Keeper Of The Rats🧙  [author] 27 Aug, 2022 @ 11:11am 
@Rise_An
Эти проблемы даже в теории не могут быть связанны с этим аддоном.
Rise_An 26 Aug, 2022 @ 3:02pm 
После установки весь гарис сломался. Аддоны работают либо не правильно, либо не работают во все. Та же беда с текстурами из аддонов. Аддоны в не стима гарис теперь вообще не видит. А все настройки которые были установлены в аддонах сбросились. Удаление этого аддона и не единождое переустановка гариса не дало ни какого эффекта. Как этот проклятый аддон работает и КАК МНЕ ВСЕ ВЕРНУТЬ?!
Keeper Of The Rats🧙  [author] 12 Jun, 2022 @ 5:05pm 
@Joystiash No, I can't. Everything you need is in the description.
Joystick 12 Jun, 2022 @ 11:36am 
Sorry, im stupid, can you explain what it does? I mean, how does it improve performance?
Bored Gaming 8 Jun, 2022 @ 7:04am 
Why do people keep complaining about the fnaf dupes when they can just use this!
Traitor 27 Nov, 2021 @ 3:04pm 
based
Keeper Of The Rats🧙  [author] 19 Nov, 2021 @ 10:38pm 
@Luftpancake
Not every addon actually improves performance. This addon will be useless for owners of powerful processors due to the fact that the lua garbage collector is not as cpu intensive as, for example, on java.
Check out my workshop for a more addons.