This is a discussion on Re: Memory usage (was select() on external FDs in get APIs) within the SNMP Coders forums, part of the Networking and Network Related category; On Wed, 06 Jun 2007 23:46:33 +0200 Magnus wrote: MF> valgrind ./test -f MF> ^C MF&...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On Wed, 06 Jun 2007 23:46:33 +0200 Magnus wrote:
MF> valgrind ./test -f MF> ^C MF> malloc/free: 25,348 allocs, 25,345 frees, 1,234,953 bytes allocated. MF> MF> as compared to MF> MF> MIBS= valgrind ./test -f MF> ^C MF> malloc/free: 1,375 allocs, 1,372 frees, 311,625 bytes allocated. MF> MF> I think 0.9MB, or 75% of all allocated memory, is a bit much for a MF> feature that ain't used. But we don't know that the MIB's _won't_ be used. It's that the don't _have_ to be used. So the default is to load them, in case they are used. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders |
![]() |
| Thread Tools | |
| Display Modes | |
|
|