<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: frecover(5441) malloc error: not enough virtual memory in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/frecover-5441-malloc-error-not-enough-virtual-memory/m-p/2622845#M39052</link>
    <description>Hi:&lt;BR /&gt;&lt;BR /&gt;While it is true that you can set maxdsiz (or the 64-bit equivalent) to large values; it is generally not a good idea. The value is simply a 'fence' and consumes no resources but it does serve a valuable purpose. Consider a really big process eating dynamically allocating memory. Eventually, the process will&lt;BR /&gt;will consume all the system-wide resources and bring the entire system to its knees. That is what maxdsiz is there to prevent. THe idea is that the offending process will fail during a malloc() and set ENOMEM. I would never set maxdsiz to the total size of virual memory; that truly will bring a box down in the above scenario. Now as to what is a good value - it depends but in 32-bit land 1GB or 512 MB is reasonable.</description>
    <pubDate>Fri, 30 Nov 2001 15:18:02 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2001-11-30T15:18:02Z</dc:date>
    <item>
      <title>frecover(5441) malloc error: not enough virtual memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/frecover-5441-malloc-error-not-enough-virtual-memory/m-p/2622841#M39048</link>
      <description>to use fastsearch.&lt;BR /&gt;check swap und maxdsiz &lt;BR /&gt;&lt;BR /&gt;swapinfo shows that:  &lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME&lt;BR /&gt;dev      409600   34148  375452    8%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;reserve       -   44260  -44260&lt;BR /&gt;memory    86120   32120   54000   37%&lt;BR /&gt;&lt;BR /&gt;maxdsiz is standard, the box has &lt;BR /&gt;256MB ram and the files on disc &lt;BR /&gt;are 56 GB&lt;BR /&gt; &lt;BR /&gt;How should maxdsiz be configured ? &lt;BR /&gt;any ideas ?? &lt;BR /&gt;&lt;BR /&gt;L. Wahl &lt;BR /&gt;</description>
      <pubDate>Fri, 30 Nov 2001 10:49:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/frecover-5441-malloc-error-not-enough-virtual-memory/m-p/2622841#M39048</guid>
      <dc:creator>michi79</dc:creator>
      <dc:date>2001-11-30T10:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: frecover(5441) malloc error: not enough virtual memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/frecover-5441-malloc-error-not-enough-virtual-memory/m-p/2622842#M39049</link>
      <description>Start by increasing swap, then make maxdsiz value equals to total amount of swap.</description>
      <pubDate>Fri, 30 Nov 2001 11:52:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/frecover-5441-malloc-error-not-enough-virtual-memory/m-p/2622842#M39049</guid>
      <dc:creator>T. M. Louah</dc:creator>
      <dc:date>2001-11-30T11:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: frecover(5441) malloc error: not enough virtual memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/frecover-5441-malloc-error-not-enough-virtual-memory/m-p/2622843#M39050</link>
      <description>If maxdsiz is still at the default of 64Meg then this is likely to be your problem.  256Meg on a system is not a lot to play with, so I'd probably increase maxdsiz to match this.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Steve</description>
      <pubDate>Fri, 30 Nov 2001 12:25:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/frecover-5441-malloc-error-not-enough-virtual-memory/m-p/2622843#M39050</guid>
      <dc:creator>Steven Gillard_2</dc:creator>
      <dc:date>2001-11-30T12:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: frecover(5441) malloc error: not enough virtual memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/frecover-5441-malloc-error-not-enough-virtual-memory/m-p/2622844#M39051</link>
      <description>I had this exact message at an off site DR test. We had to increase maxswapchunks and maxdsize, then add swapspace, reboot and this fixed the problem.&lt;BR /&gt;&lt;BR /&gt;As far as a guide to how big to make maxdsize???&lt;BR /&gt;&lt;BR /&gt;If you are running HPUX 11.0 you can make it as big as you wish. I have never heard of it causing a problem being to big, just to small.</description>
      <pubDate>Fri, 30 Nov 2001 15:08:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/frecover-5441-malloc-error-not-enough-virtual-memory/m-p/2622844#M39051</guid>
      <dc:creator>Krishna Prasad</dc:creator>
      <dc:date>2001-11-30T15:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: frecover(5441) malloc error: not enough virtual memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/frecover-5441-malloc-error-not-enough-virtual-memory/m-p/2622845#M39052</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;While it is true that you can set maxdsiz (or the 64-bit equivalent) to large values; it is generally not a good idea. The value is simply a 'fence' and consumes no resources but it does serve a valuable purpose. Consider a really big process eating dynamically allocating memory. Eventually, the process will&lt;BR /&gt;will consume all the system-wide resources and bring the entire system to its knees. That is what maxdsiz is there to prevent. THe idea is that the offending process will fail during a malloc() and set ENOMEM. I would never set maxdsiz to the total size of virual memory; that truly will bring a box down in the above scenario. Now as to what is a good value - it depends but in 32-bit land 1GB or 512 MB is reasonable.</description>
      <pubDate>Fri, 30 Nov 2001 15:18:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/frecover-5441-malloc-error-not-enough-virtual-memory/m-p/2622845#M39052</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-11-30T15:18:02Z</dc:date>
    </item>
  </channel>
</rss>

