Using the updated gridtable.wx.wlua example and the latest source from the repository from the examples folder and adding a timer to call ForceRefresh() on the wxGrid every 30ms still causes memory to be leaked. The number reported by collectgarbage"count" will however now remain the same for a long time, but then will double, and this will repeat taking long each time to double. Memory usage from within windows xp goes up slowly, I experienced it appearing to stop at 27,080 K with 13,968.4 being reported from collectgarbage"count", however waiting longer it all of a sudden starting going up again and the number reported by collectgarvage"count" doubled virtually instanly to 27,027.4, with the mem usage in windows task manager continuing to climb. I am attaching the gridtable.wx.wlua example that has only been modified to add the periodic call to ForceRefresh, and every 1000 times ForceRefresh() is called, pop up a message displaying the collectgarbage"count".
Log in to post a comment.