Reply To: Garbage collecting in Lua…

Home Forums General Programming Garbage collecting in Lua… Reply To: Garbage collecting in Lua…

#83280
human fly
Participant
  • Topics: 124
  • Replies: 1070
  • Total: 1194
  • ★★★★

This is a memory leak, you could be creating table duplicates, who knows. You have to find out where the memory is going.

could you explain about deleting memory blocks, and show how?
also curious about duplicate tables: my panel creates tables
with _G[ "(table name)"..etc ] quite a lot, and i get the
impression operations can slow down after a bit.

i initialize and rebuild these tables each time they are used,
eg:
_G[ "(table name)"..etc ]={}
before collecting values again, and re-doing table.insert,
so i thought that would be ok. have not checked file size,
doing this – how would i do that while the panel is running?

Ctrlr