[AGENT++] memory leak
Frank Fock
fock at agentpp.com
Fri Sep 10 19:28:32 CEST 2004
Hi Meena,
Please find my comments inline:
Meena Nallasivan wrote:
>Hi,
>
>We ran the SnmpWalk for overnight as a part of our performance test
>
>After 12 hours the system crashed, from the traces attached below it
>looks like there is a memory leak.
>
>
>
Why do you think that there is a memory leak?
>Can you clarify the following points
>
>1. Are we using the memory from the system directly for "new" operator,
>or if there is any Memory pool maintained?
>
>
>
The "new" operator is not overloaded by AGENT++.
>2. in mib.cpp file, please find the code snippet below
>
>#ifdef AGENTPP_USE_THREAD_POOL
> MibTask* mt = new MibTask(call);
> threadPool->execute(mt);
>
>I don't see "mt" getting released anywhere? Am I missing something?
>
>
mt is deleted by the TaskManager::run() method.
Best regards,
Frank
More information about the AGENTPP
mailing list