I also see memory leak issue with netsnmp (5.1.1) + loadable agent.so code. I do not use any malloc/free in the agent.so code, but when I run some snmp set code over night, I ran out of memory completely. (128MB of Linux).
It looks like it is leaking 4K evrey 5 seconds when I run continuous set command. Any tips/pointer from the coders on how to isolate the memory leak in the agent code? such as malloc debugger wrappers and/or handler debug memory dump cmd, etc.... On Wed, 3 Nov 2004 09:49:10 +0100, Khalif Hassan <[EMAIL PROTECTED]> wrote: > Hi! > We are using the latest net_snmp version (net_snmp-5.1.2). Two source > files snmp_api.c & snmp_client.c does not free the memory that was > allocated in several places. I run a purify and discover these memory > leaks. > > -- -Tony Having a lot of fun with Xilinx Virtex Pro reconfigurable HW + ppc + Linux ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
