Page 1 of 1

Memory leak (bug_id 75)

Posted: Fri May 19, 2017 9:14 pm
by Damic
Had a big memory leak, but it's now smaller but still uses after a few days a lot of memory. Currently I've let dotMemory loose on it and I'm not wiser, results: GetMobile/SendDbg/BGW_DoWork are the troublesome subs :roll:
* GetMobile: is the sub that parses the mobile pages
* SendDbg: send a page to the cd-pc server
* BGW_DoWork() is a sub that does everything :F

But I see also that http_request() and the sqlite functions passing by a lot.

Re: Memory leak (bug_id 75)

Posted: Tue Jun 06, 2017 10:48 pm
by Damic
Fixed in v
Had a link in http_request() to the main window(frmSettings), everythime I called the http_request() all the icons where initialized in a new memory space and never released.

There is still a very small memory leak, but for the most of us not big enough to cause a problem. O-)