Closed CryDeS closed 4 years ago
CustomNetTables:GetTableValue CustomNetTables:SetTableValue do not cause leak, but there is problem with lua garbage collector (or just lack of knowlege of it)
I wonder if we can close this for summer scrub http://www.dota2.com/summerscrub
Frequent issues to GetTableValue in net-tables cause memory leak that crash dedicated server
Simple example:
That call allocate ~1.5GB RAM on server, that will be cleared not completely (~100-150MB will leak).
If you try call it every game tick - after 30 minute dota dedicated server will crash.
That also cause some spam messages to console(and completly that spam are right)
Calling garbage collector manually doesn't help at all( 0 items collected ), but counting lua memory will print something about ~10Mb.
Also that problem(2015 YEAR!): https://dev.dota2.com/showthread.php?t=184696
I think that NEED to be fixed. Or custom developers must have another way to sync server with client.