[AGENT++] Memory
Chaim Turkel - Israel
ChaimT at gilat.com
Sun Dec 11 11:22:27 CET 2005
My data is not static.
Can I just override all functions and send them to the parent (except
clone) or is there something else I need to know (why are they all
abstract)
Chaim Turkel
-----Original Message-----
From: Frank Fock [mailto:fock at agentpp.com]
Sent: Thursday, December 08, 2005 11:25 PM
To: Chaim Turkel - Israel
Cc: agentpp at agentpp.org
Subject: Re: [AGENT++] Memory
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