[Winpcap-users] memory leak in pcap_findalldevs_ex?

Gianluca Varenni gianluca.varenni at cacetech.com
Tue Feb 13 01:25:01 GMT 2007


Demetrio,

does the virtual memory usage explode if you call findalldevs_ex/freealldevs in a tight loop (i.e. without the 20s pause)? If you use task manager to look at the memory usage, in the processes tab enable the "VM size" column, it's way more useful in case of memory leaks.

Have a nice day
GV


  ----- Original Message ----- 
  From: Demetrio Megali 
  To: winpcap-users at winpcap.org 
  Sent: Monday, February 12, 2007 8:52 AM
  Subject: [Winpcap-users] memory leak in pcap_findalldevs_ex?


  My program does nothing in particular: it calls findalldevs_ex every 20 seconds,make a list of devices and then call freealldevs; I have noticed that every 20 seconds the memory allocated by the program increments from 8 to 20 KB.  I use winpcap 4 on windows xp service pack2.  Can you help me?  Regards.

                  -Demetrio 


------------------------------------------------------------------------------


  _______________________________________________
  Winpcap-users mailing list
  Winpcap-users at winpcap.org
  https://www.winpcap.org/mailman/listinfo/winpcap-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20070213/d07e8ada/attachment.htm


More information about the Winpcap-users mailing list