memory leaks in snmp++

Frank Fock Frank.Fock____t-online.de
Mon Apr 28 23:42:38 CEST 2003


Hi Henning,

I have just tried to reproduce the problem -
with no luck. I have used Purify to locate
any memory leaks but found none.

Can you reproduce the leak with a simple
example? What kind of requests are you using
(GET, GETNEXT, etc.)? What SNMP version?

Thanks,
Frank

Henning Eggers wrote:
> Hi everybody,
> has anybody besides me noticed memory leaks in SNMP++ v3.2 when using
> asynchronous operation? They only appear when requests time out, so if a
> device is offline and the NMS application keeps polling it, the application
> will eventually run out of memory.
> I just tried it on the latest version of SNMP++ (3.2.6b) and the problem is
> still there.
> We noticed it here because we had about 30 unreachable devices and our
> application was eating about 1 Megabyte per minute ...
> 
> I looked through the code but it is very hard to search if you do not know
> what to look for. If anybody has a hint for me, I would be happier!
> 
> Thanks,
> Henning
> 
> 






More information about the AGENTPP mailing list