ExclamationOutdatedHow to get memory usage in lua [Better than using gcinfo()]

Posts 115 of 23 · Page 1 of 2
How to get memory usage in lua [Better than using gcinfo()]
print(collectgarbage('count')*1024) in KBs
Yay now I can see how unoptomized my shit hack is
Quote Originally Posted by OJthejuiceman View Post
print(collectgarbage('count')*1024) in KBs
HOLY FUCKING SHIT I NEVER FUCKING KNEW THIS OH MY GOD

(this is one the lua website)
did OJ finally learn to read the lua wiki?

jk he probably found this in another cheat
print(gcinfo() / 1024)
Would still be better
hello gais i noob to using u know code hacks that ppl uploades on this gmod threat like paste bin and other codes and i cant rlly find anny way to use them like a threat that i can read and i rly want to use thes coded hacks so if any 1 can tell me how to do or send me the threat THANK YOU
Quote Originally Posted by OJthejuiceman View Post
because gcinfo is being removed in a future version of garrys mod
why do you need to use this
Quote Originally Posted by cdr1za View Post
why do you need to use this
i dont other people may need it just thought i'd throw it out there
Quote Originally Posted by OJthejuiceman View Post
because gcinfo is being removed in a future version of garrys mod
I rarely call people retarded, but I think I'll have to make an exception here
Quote Originally Posted by tdsx View Post
I rarely call people retarded, but I think I'll have to make an exception here
says it in the wiki that it maybe removed in a future version of garrys mod

This function is deprecated.
You should avoid using it as it may be removed in a future version.

This function was deprecated in Lua 5.1 and is removed in Lua 5.2. Use collectgarbage( "count" ) instead.
Quote Originally Posted by OJthejuiceman View Post
says it in the wiki that it maybe removed in a future version of garrys mod

This function is deprecated.
You should avoid using it as it may be removed in a future version.

This function was deprecated in Lua 5.1 and is removed in Lua 5.2. Use collectgarbage( "count" ) instead.
wow, really? new discovery1!!
Quote Originally Posted by tdsx View Post
wow, really? new discovery1!!
YEAA !!! odgdm,dcv vvffbw BRAND FUCKING NEW DUDENS!!
Quote Originally Posted by OJthejuiceman View Post
YEAA !!! odgdm,dcv vvffbw BRAND FUCKING NEW DUDENS!!
this isn't even correct
it would be
collectgarbage("count") / 1024
Quote Originally Posted by cdr1za View Post
this isn't even correct
it would be
collectgarbage("count") / 1024
ahh thx CDEE

--Edit--
cac uses * 1024 ;~;
Quote Originally Posted by OJthejuiceman View Post
ahh thx CDEE

--Edit--
cac uses * 1024 ;~;
too bad you can't bypass cac
Posts 115 of 23 · Page 1 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?