<?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: Memory Allocation Failure Error in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/memory-allocation-failure-error/m-p/4756126#M59580</link>
    <description>The OS is RHEL release 4 (Nahant Update 6)&lt;BR /&gt;Kernel version is 2.6.9-67&lt;BR /&gt;Platform is X86_64&lt;BR /&gt;The process was a C++ program.</description>
    <pubDate>Tue, 22 Feb 2011 10:30:19 GMT</pubDate>
    <dc:creator>Anoop Ahamad</dc:creator>
    <dc:date>2011-02-22T10:30:19Z</dc:date>
    <item>
      <title>Memory Allocation Failure Error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/memory-allocation-failure-error/m-p/4756124#M59578</link>
      <description>What's the different possibilities of getting a memory allocation Failure error?&lt;BR /&gt;&lt;BR /&gt;One of the process got failed during the process of allocating a small amount of memory (less than 10 MB). I don't know the exact memory usage at that particulat moment,but when I monitored the system continuously after that there's enough memory available. The top output shows that &lt;BR /&gt;Total Memory available : 78 GB&lt;BR /&gt;Memory Cached :          73 GB&lt;BR /&gt;Memory free :            255MB&lt;BR /&gt;&lt;BR /&gt;So I think there was enough memory when the process crashed and it's failed due to some other reason. So I would like to know the different reasons for gettign this error.&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Feb 2011 06:39:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/memory-allocation-failure-error/m-p/4756124#M59578</guid>
      <dc:creator>Anoop Ahamad</dc:creator>
      <dc:date>2011-02-22T06:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Allocation Failure Error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/memory-allocation-failure-error/m-p/4756125#M59579</link>
      <description>Hi Anoop,&lt;BR /&gt;&lt;BR /&gt;Kindly let us know the following:&lt;BR /&gt;What is the Operating System/Kernel?&lt;BR /&gt;What is the process that failed?&lt;BR /&gt;What is the server hardware model?&lt;BR /&gt;&lt;BR /&gt;These things will help us to answer your query.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Feb 2011 07:37:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/memory-allocation-failure-error/m-p/4756125#M59579</guid>
      <dc:creator>Suman_1978</dc:creator>
      <dc:date>2011-02-22T07:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Allocation Failure Error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/memory-allocation-failure-error/m-p/4756126#M59580</link>
      <description>The OS is RHEL release 4 (Nahant Update 6)&lt;BR /&gt;Kernel version is 2.6.9-67&lt;BR /&gt;Platform is X86_64&lt;BR /&gt;The process was a C++ program.</description>
      <pubDate>Tue, 22 Feb 2011 10:30:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/memory-allocation-failure-error/m-p/4756126#M59580</guid>
      <dc:creator>Anoop Ahamad</dc:creator>
      <dc:date>2011-02-22T10:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Allocation Failure Error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/memory-allocation-failure-error/m-p/4756127#M59581</link>
      <description>Hi Anoop,&lt;BR /&gt;&lt;BR /&gt;You are allocating memory using malloc /new right ? or some other wierd way by using sbrk() or something ? . I will take a look at the lidstdc++,  linux kernel code and get back to you. &lt;BR /&gt;&lt;BR /&gt;It would be nice to check the errno variable. Theoretical answer is fragmentation :).&lt;BR /&gt;&lt;BR /&gt;--Lucifer Megacruel</description>
      <pubDate>Tue, 22 Feb 2011 12:00:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/memory-allocation-failure-error/m-p/4756127#M59581</guid>
      <dc:creator>Lucifer Megacruel</dc:creator>
      <dc:date>2011-02-22T12:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Allocation Failure Error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/memory-allocation-failure-error/m-p/4756128#M59582</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;As per your TOP comand output 93% of your RAm used as cached memory. Can you reduce that?&lt;BR /&gt;&lt;BR /&gt;I myself don't know how to reduce cached memory but article may help you out&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.scottklarr.com/topic/134/linux-how-to-clear-the-cache-from-memory/" target="_blank"&gt;http://www.scottklarr.com/topic/134/linux-how-to-clear-the-cache-from-memory/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Pramod.</description>
      <pubDate>Wed, 23 Feb 2011 04:38:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/memory-allocation-failure-error/m-p/4756128#M59582</guid>
      <dc:creator>Pramod Kumar M</dc:creator>
      <dc:date>2011-02-23T04:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Allocation Failure Error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/memory-allocation-failure-error/m-p/4756129#M59583</link>
      <description>I had googled for the cache usage and most of the articles says that it's an advantage in Linux that the free memory will be utilized by using as cache and it will improve the system performance. And there's no issue with memory because the requested memory will be moved from cache and will be allocated to the requested process.&lt;BR /&gt;&lt;BR /&gt;So in my case there was enough memory(cache) but it couldn't allocate it to the process. Is there any restriction in allocating memory from cache?</description>
      <pubDate>Wed, 23 Feb 2011 10:48:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/memory-allocation-failure-error/m-p/4756129#M59583</guid>
      <dc:creator>Anoop Ahamad</dc:creator>
      <dc:date>2011-02-23T10:48:18Z</dc:date>
    </item>
  </channel>
</rss>

