I tested the garbage collector in several samples of "full-use memory" and this tool is very nice
My test:
¿¿What is the Garbage Collector??
SEE:Lua for Beginners
My test:
print( gcinfo())
A={}
for i=1,1000000 do
A=i
end
print( gcinfo())
collectgarbage ("collect")
print( collectgarbage("count"))
¿¿What is the Garbage Collector??
SEE:Lua for Beginners