On tor, 2007-06-07 at 06:25 -0400, Robert Story wrote:
> 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.

That is true.
Then the question is how a module can indicate that it have no need for
the mibs.

/MF


-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to