[AGENT++] Memory
Chaim Turkel - Israel
ChaimT at gilat.com
Fri Dec 16 06:26:02 CET 2005
How do I use MibComplexEntry. All functions are virtual yet have
implementation.
Can you please help me (maybe an example)
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