Sophie

Sophie

distrib > Fedora > 14 > i386 > by-pkgid > 864d1c3c3cd8df4e3a2692faf8776e05 > files > 209

db4o-doc-7.4-2.fc13.i686.rpm

<html>
  <head>
    <META http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Controlling Memory Consumption</title>
    <link rel="stylesheet" type="text/css" href="../../../style.css">
  </head>
  <body>
    <div class="CommonContent">
      <div class="CommonContentArea">
        <h1>Controlling Memory Consumption</h1><p>In order to control the increasing memory usage in batch
messaging mode the following configuration method is provided:</p>



<span name="cs_wiki_filter" csw_filters="cs"><p>c#:&nbsp;</p>

<p><code>container.Ext().Configure().ClientServer().MaxBatchQueueSize(size);</code></p>

</span>

<span name="cs_wiki_filter" csw_filters="vb"><p>VB:&nbsp;</p>

<p><code>container.Ext().Configure().ClientServer().MaxBatchQueueSize(size);</code></p>

</span>

<p>When this configuration method is used, client messages are
flushed to the server when the message queue reaches the specified size in
bytes. </p>



</div>
    </div>
    <div id="footer">
					This revision (2) was last Modified 2007-03-13T19:46:10 by Tetyana.
				</div>
  </body>
</html>