[AGENT++] Memory

Frank Fock fock at agentpp.com
Thu Dec 8 22:25:12 CET 2005


Chaim,

The classes have virtual functions which add additional memory
consumption to the instances. For tables with typically over 1000
entries you should use "virtual" tables by using the
MibComplexEntry interface. Another approach would be to use
the MibTable::update mechanism to hold only those rows in the
table that are currently requested.

For static data, the MibStaticTable can save memory.

Best regards,
Frank

Chaim Turkel - Israel wrote:

>I seem to have a memory issue and wanted to know your option.
>I have a table with 26 nodes, and there are 16,000 entries to the table.
>
>
>It looks like the classes are very heavy and take a tremendous amount of
>room.
>The additional memory once loaded the 16,000 entries was 130MB.
>
>
>Chaim Turkel
>
>_______________________________________________
>AGENTPP mailing list
>AGENTPP at agentpp.org
>http://lists.agentpp.org/mailman/listinfo/agentpp
>
>
>  
>


-- 
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com





More information about the AGENTPP mailing list