<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#: </p> <p><code>container.Ext().Configure().ClientServer().MaxBatchQueueSize(size);</code></p> </span> <span name="cs_wiki_filter" csw_filters="vb"><p>VB: </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>