<docbook><section><title>VirtTipsAndTricksGuideOutOfMemory</title><bridgehead class="http://www.w3.org/1999/xhtml:h2">How Can I configure parameters to avoid out of memory error?</bridgehead>
<para>In order to avoid out of memory error, you should make sure the values for the paramaters <emphasis><ulink url="NumberOfBuffers">NumberOfBuffers</ulink></emphasis> and <emphasis><ulink url="MaxCheckpointRemap">MaxCheckpointRemap</ulink></emphasis> are not set with the same values.</para>
<para>For example, the following configuration will cause an error out of memory: </para>
<programlisting># virtuoso.ini

...
[Parameters]
NumberOfBuffers = 246837
MaxDirtyBuffers = 18517
MaxCheckpointRemap = 246837
...
</programlisting><para> Changing the value of the parameter <emphasis><ulink url="MaxCheckpointRemap">MaxCheckpointRemap</ulink></emphasis> with let&#39;s say 1/4 of the DB size will resolve the issue.</para>
<para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h3">Related</bridgehead>
<itemizedlist mark="bullet" spacing="compact"><listitem><ulink url="VirtTipsAndTricksGuide">Virtuoso Tips and Tricks Collection</ulink> </listitem>
<listitem><ulink url="http://docs.openlinksw.com/virtuoso/databaseadmsrv.html#VIRTINI">Virtuoso Configuration File</ulink> </listitem>
</itemizedlist></section></docbook>