Author Topic: Memory Leak in Find The Hid  (Read 9335 times)

SeaLyon

  • Member
  • ***
  • Posts: 4
Memory Leak in Find The Hid
« on: October 06, 2010, 02:14:47 am »
I have been using the visual basic reference code (2005 version) for some time now but noticed recently that there appears to be a slow memory leak in the Findthehid() routine. When it is called repeatedly it starts to leak memory. I have looked through it but have not been able to target the exact point within the procedure that is leaking the memory. Has anyone come across this and been able to stop the leak?

Thanks,
Craig

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: Memory Leak in Find The Hid
« Reply #1 on: October 06, 2010, 09:24:29 am »
Try the latest version at www.Lvr.com/hidpage.htm

If that doesn't help, how are you detecting the memory leak?

Jan

SeaLyon

  • Member
  • ***
  • Posts: 4
Re: Memory Leak in Find The Hid
« Reply #2 on: October 13, 2010, 12:29:09 pm »
I'll give the new one a try. I was detecting the leak by using a timer to repeatedly call FindTheHid() and then watch the resource meter in task manager to see the memory allocation slowly increase for the application.