adjusted manual_gc docs

This commit is contained in:
Max Cahill 2024-04-29 16:18:16 +10:00
parent db5351e898
commit 3667975636

View File

@ -26,10 +26,10 @@
adjust down or up as needed. games that generate more garbage adjust down or up as needed. games that generate more garbage
will need to spend longer on gc each frame. will need to spend longer on gc each frame.
memory_ceiling - 64mb memory_ceiling - unlimited
a good place to start, though some games will need much more. a good place to start might be something like 64mb, though some games
remember, this is lua memory, not the total memory consumption will need much more. remember, this is lua memory, not the total memory
of your game. consumption of your game.
disable_otherwise - false disable_otherwise - false
disabling the gc completely is dangerous - any big allocation disabling the gc completely is dangerous - any big allocation