Page 1 of 1

GetLuaMemUsage

Posted: 09 Oct 2018, 12:06
by PicassoCT
Is this currently in spring 104.0?
Does it work?
Has anyone written any memory leak debug gadgetry ?

Re: GetLuaMemUsage

Posted: 09 Oct 2018, 12:08
by Silentwings

Re: GetLuaMemUsage

Posted: 09 Oct 2018, 15:36
by PicassoCT
Thanks Silentwings- it works.. but i still have no idea where all the memory seems to go with code_man.
I copied the situation as close as possible.
Everythings seems fine on my machine.
Image

Re: GetLuaMemUsage

Posted: 09 Oct 2018, 16:33
by Silentwings
It looks like its not working properly there - all your mem allocs claim 0kB/s which I wouldn't believe.

If you let me know which game version/engine you're using then I'll look into it.

Re: GetLuaMemUsage

Posted: 09 Oct 2018, 23:48
by PicassoCT
Also the kb/s values are always zero.

Re: GetLuaMemUsage

Posted: 10 Oct 2018, 00:21
by Floris
the function was added in one of the 104 maintenance builds, so seeing the last game you hosted was just regular 104, no wonder

i coded in fallback in the ba profilers for the older engines, and there it will return 0

Re: GetLuaMemUsage

Posted: 10 Oct 2018, 04:03
by PicassoCT
Ah, thank you.

I hope code_man retests my game with this gadget.