I'm using Lua in another project this time I have a global memory manager and I'm tracking how much memory the Lua state is using
Then after Lua as exitedThat's a memory leak of 17,966 bytes I suspect that this is because Lua wants the OS to clean up it's mess, only this time I don't have a separate memory pool to do that...
This is using the REPL for Lua this isn't my typical use but I need to address it somehow. Any thoughts what I could do to deal with the leak?
Code:
Total Entries 299 Used Entries 290 Free Entries 9Total Blocks 22907 Used Blocks 2394 Free Blocks 20513Usage Metric: 11Fragmentation Metric: 1Free heap : 164104Larges free space : 163960
Code:
Total Entries 568 Used Entries 556 Free Entries 12Total Blocks 22907 Used Blocks 4606 Free Blocks 18301Usage Metric: 25Fragmentation Metric: 1Free heap : 146408Larges free space : 146248
This is using the REPL for Lua this isn't my typical use but I need to address it somehow. Any thoughts what I could do to deal with the leak?
Statistics: Posted by DarkElvenAngel — Mon Dec 18, 2023 8:31 pm