<?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: Linux Error: 12: Cannot allocate memory in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/linux-error-12-cannot-allocate-memory/m-p/4699469#M42403</link>
    <description>Hi Thanks Patrick Wallek for a quick help&lt;BR /&gt;&lt;BR /&gt;&amp;gt;It's possible that you don't have enough &lt;BR /&gt;&amp;gt;contiguous RAM for the SGA.&lt;BR /&gt;I am sorry, I didnt got you. But what I can share with you is that, when Oracle was installed on this system, there was only 2 GB Physical Memory installed, and now we have added 4 GB, i,e 6 GB of Physical Memory.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Can "Mr DBA" decrease the 'sga_max_size' back &lt;BR /&gt;&amp;gt;down to its previous value and see if it &lt;BR /&gt;&amp;gt;starts?&lt;BR /&gt;yes, when sga_max_size sets to 1 GB it works/starts&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Maaz</description>
    <pubDate>Thu, 14 Oct 2010 14:35:01 GMT</pubDate>
    <dc:creator>Maaz</dc:creator>
    <dc:date>2010-10-14T14:35:01Z</dc:date>
    <item>
      <title>Linux Error: 12: Cannot allocate memory</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-error-12-cannot-allocate-memory/m-p/4699467#M42401</link>
      <description>OS: SLES11 SP1 x86&lt;BR /&gt;&lt;BR /&gt;# uname -r&lt;BR /&gt;2.6.32.19-0.3-pae #1 SMP&lt;BR /&gt;&lt;BR /&gt;Oracle: 10gR2 standard edition 32 bit&lt;BR /&gt;&lt;BR /&gt;Physical Memory: 6 GB&lt;BR /&gt;# free -m&lt;BR /&gt;            total       used       free     shared    buffers     cached&lt;BR /&gt;Mem:          5857       1806       4051          0         26       1577&lt;BR /&gt;-/+ buffers/cache:        202       5655&lt;BR /&gt;Swap:        12284          0      12284&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Oracle was running until Mr DBA has increased the value of 'sga_max_size' to 2.5GB&lt;BR /&gt;SQL&amp;gt; startup&lt;BR /&gt;ORA-27102: out of memory&lt;BR /&gt;Linux Error: 12: Cannot allocate memory&lt;BR /&gt;Additional information: 1&lt;BR /&gt;Additional information: 2260998&lt;BR /&gt;&lt;BR /&gt;following are the kernel parameters&lt;BR /&gt;# cat /proc/sys/kernel/shmmni&lt;BR /&gt;4096&lt;BR /&gt;&lt;BR /&gt;# cat /proc/sys/kernel/shmmax&lt;BR /&gt;3294967296&lt;BR /&gt;&lt;BR /&gt;# cat /proc/sys/kernel/shmall&lt;BR /&gt;1572864&lt;BR /&gt;&lt;BR /&gt;# getconf PAGE_SIZE&lt;BR /&gt;4096&lt;BR /&gt;&lt;BR /&gt;Please help/suggest&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Maaz</description>
      <pubDate>Thu, 14 Oct 2010 13:49:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-error-12-cannot-allocate-memory/m-p/4699467#M42401</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2010-10-14T13:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: Linux Error: 12: Cannot allocate memory</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-error-12-cannot-allocate-memory/m-p/4699468#M42402</link>
      <description>It's possible that you don't have enough contiguous RAM for the SGA.&lt;BR /&gt;&lt;BR /&gt;Can "Mr DBA" decrease the 'sga_max_size' back down to its previous value and see if it starts?</description>
      <pubDate>Thu, 14 Oct 2010 13:56:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-error-12-cannot-allocate-memory/m-p/4699468#M42402</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2010-10-14T13:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Linux Error: 12: Cannot allocate memory</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-error-12-cannot-allocate-memory/m-p/4699469#M42403</link>
      <description>Hi Thanks Patrick Wallek for a quick help&lt;BR /&gt;&lt;BR /&gt;&amp;gt;It's possible that you don't have enough &lt;BR /&gt;&amp;gt;contiguous RAM for the SGA.&lt;BR /&gt;I am sorry, I didnt got you. But what I can share with you is that, when Oracle was installed on this system, there was only 2 GB Physical Memory installed, and now we have added 4 GB, i,e 6 GB of Physical Memory.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Can "Mr DBA" decrease the 'sga_max_size' back &lt;BR /&gt;&amp;gt;down to its previous value and see if it &lt;BR /&gt;&amp;gt;starts?&lt;BR /&gt;yes, when sga_max_size sets to 1 GB it works/starts&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Maaz</description>
      <pubDate>Thu, 14 Oct 2010 14:35:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-error-12-cannot-allocate-memory/m-p/4699469#M42403</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2010-10-14T14:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: Linux Error: 12: Cannot allocate memory</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-error-12-cannot-allocate-memory/m-p/4699470#M42404</link>
      <description>df /dev/shm ??&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Oct 2010 15:47:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-error-12-cannot-allocate-memory/m-p/4699470#M42404</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2010-10-14T15:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: Linux Error: 12: Cannot allocate memory</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-error-12-cannot-allocate-memory/m-p/4699471#M42405</link>
      <description>Hi Thanks Time Nelson&lt;BR /&gt;&lt;BR /&gt;# df /dev/shm&lt;BR /&gt;Filesystem           1K-blocks      Used Available Use% Mounted on&lt;BR /&gt;tmpfs                  2999164       100   2999064   1% /dev/shm&lt;BR /&gt;&lt;BR /&gt;# df -hT&lt;BR /&gt;Filesystem    Type    Size  Used Avail Use% Mounted on&lt;BR /&gt;/dev/sda2     ext3    123G  9.6G  107G   9% /&lt;BR /&gt;devtmpfs  devtmpfs    2.9G  108K  2.9G   1% /dev&lt;BR /&gt;tmpfs        tmpfs    2.9G  100K  2.9G   1% /dev/shm&lt;BR /&gt;/dev/drbd0    ext3    197G   13G  175G   7% /opt/oracle&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;Thanks&lt;BR /&gt;Regards&lt;BR /&gt;Maaz</description>
      <pubDate>Fri, 15 Oct 2010 03:34:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-error-12-cannot-allocate-memory/m-p/4699471#M42405</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2010-10-15T03:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: Linux Error: 12: Cannot allocate memory</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-error-12-cannot-allocate-memory/m-p/4699472#M42406</link>
      <description>I do not know much about this version of Oracle and do not have an environment to test any of this but googeling I found a few pointer that said&lt;BR /&gt;&lt;BR /&gt;On 32-bit Linux the total SGA size is limited to around 2Gig (Some say 1.7 Gig)&lt;BR /&gt;&lt;BR /&gt;the following link is a little more explicit&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.oracle-base.com/articles/linux/LargeSGAOnLinux.php" target="_blank"&gt;http://www.oracle-base.com/articles/linux/LargeSGAOnLinux.php&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I do not know if this is correct, but perhap worth investigating !&lt;BR /&gt;&lt;BR /&gt;Enjoy, life. &lt;BR /&gt;&lt;BR /&gt;Jean-Pierre Huc  &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Oct 2010 08:26:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-error-12-cannot-allocate-memory/m-p/4699472#M42406</guid>
      <dc:creator>Huc_1</dc:creator>
      <dc:date>2010-10-15T08:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: Linux Error: 12: Cannot allocate memory</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-error-12-cannot-allocate-memory/m-p/4699473#M42407</link>
      <description>Hi Jean-Pierre Huc&lt;BR /&gt;Thanks for sharing I'll try following the url&lt;BR /&gt;&lt;BR /&gt;and for your kind consideration&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# ipcs -lm&lt;BR /&gt;&lt;BR /&gt;------ Shared Memory Limits --------&lt;BR /&gt;&lt;BR /&gt;max number of segments = 4096&lt;BR /&gt;&lt;BR /&gt;max seg size (kbytes) = 3217741&lt;BR /&gt;&lt;BR /&gt;max total shared memory (kbytes) = 6291456&lt;BR /&gt;&lt;BR /&gt;min seg size (bytes) = 1&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Maaz</description>
      <pubDate>Fri, 15 Oct 2010 09:42:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-error-12-cannot-allocate-memory/m-p/4699473#M42407</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2010-10-15T09:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: Linux Error: 12: Cannot allocate memory</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-error-12-cannot-allocate-memory/m-p/4699474#M42408</link>
      <description>Hi Tim Nelson&lt;BR /&gt;&amp;gt;df /dev/shm ??&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hi Huc&lt;BR /&gt;&amp;gt;On 32-bit Linux the total SGA size is&lt;BR /&gt;&amp;gt;limited to around 2Gig (Some say 1.7 Gig)&lt;BR /&gt;&amp;gt;the following link is a little more explicit&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&lt;A href="http://www.oracle-base.com/articles/linux/LargeSGAOnLinux.php" target="_blank"&gt;http://www.oracle-base.com/articles/linux/LargeSGAOnLinux.php&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks everybody, and esp Tim Nelson, and Huc&lt;BR /&gt;&lt;BR /&gt;I append the following line in the fstab, and issue resolved&lt;BR /&gt;&lt;BR /&gt;   tmpfs /dev/shm tmpfs size=5g 0 0&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Maaz</description>
      <pubDate>Sun, 31 Oct 2010 11:58:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-error-12-cannot-allocate-memory/m-p/4699474#M42408</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2010-10-31T11:58:46Z</dc:date>
    </item>
  </channel>
</rss>

