<?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: Cannot allocate memory in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-allocate-memory/m-p/3120529#M150692</link>
    <description>Thanks for your reply&lt;BR /&gt;&lt;BR /&gt;I have K460 server with IGB mem 1GB Swap&lt;BR /&gt;10.20 OS&lt;BR /&gt;dbc_max_pct=50&lt;BR /&gt;dbc_min_pct=5&lt;BR /&gt;maxdsiz=67108864&lt;BR /&gt;do you agree with me to increase the maxdsiz to 134217728, and will it help?&lt;BR /&gt;&lt;BR /&gt;thanks</description>
    <pubDate>Wed, 19 Nov 2003 01:05:24 GMT</pubDate>
    <dc:creator>Abdullatif Abdulla</dc:creator>
    <dc:date>2003-11-19T01:05:24Z</dc:date>
    <item>
      <title>Cannot allocate memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-allocate-memory/m-p/3120527#M150690</link>
      <description>I get the error:cannot allocate memory for UTX GSM base structure when ever users run and application which do some processesing. I processes files but sends the above error if the data fiel to process is greater than 60MB.&lt;BR /&gt;submitting the command swapinf -tam while the application running I got the following results but teh application fails.&lt;BR /&gt;swapinfo -tam&lt;BR /&gt;             Mb      Mb      Mb   PCT  START/      Mb&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME&lt;BR /&gt;dev        1024       0    1024    0%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;reserve       -     352    -352&lt;BR /&gt;memory      763     544     219   71%&lt;BR /&gt;total      1787     896     891   50%       -       0    -&lt;BR /&gt;t4:/home/root&amp;gt; r&lt;BR /&gt;swapinfo -tam&lt;BR /&gt;             Mb      Mb      Mb   PCT  START/      Mb&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME&lt;BR /&gt;dev        1024       0    1024    0%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;reserve       -     367    -367&lt;BR /&gt;memory      763     544     219   71%&lt;BR /&gt;total      1787     911     876   51%       -       0    -&lt;BR /&gt;t4:/home/root&amp;gt; r&lt;BR /&gt;swapinfo -tam&lt;BR /&gt;             Mb      Mb      Mb   PCT  START/      Mb&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME&lt;BR /&gt;dev        1024       0    1024    0%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;reserve       -     301    -301&lt;BR /&gt;memory      763     544     219   71%&lt;BR /&gt;total      1787     845     942   47%       -       0    -&lt;BR /&gt;&lt;BR /&gt;maxdsiz  67108864     67108864   Max Data Segment Size (b |&lt;BR /&gt; |&lt;BR /&gt;&lt;BR /&gt; maxswapchunks                2163         2163   Max Number of Swap Chunk |&lt;BR /&gt; | maxtsiz                  67108864     67108864   Max Text Segment Size (b |&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Is it some thing related to unix and how to fix it or I have to contact the appliction vendor.</description>
      <pubDate>Mon, 17 Nov 2003 02:07:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-allocate-memory/m-p/3120527#M150690</guid>
      <dc:creator>Abdullatif Abdulla</dc:creator>
      <dc:date>2003-11-17T02:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot allocate memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-allocate-memory/m-p/3120528#M150691</link>
      <description>I am just pointing that the errors come from here and you should filter the cause.&lt;BR /&gt;&lt;BR /&gt;The out of memory errors come up for several reasons&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;1.First check your memory and swap usage on the system.&lt;BR /&gt;if it is very high check for the memory usage by each process and try to bring them to a minimum.&lt;BR /&gt;2.If step 1 is ok then check the buffer cache paramters are ok.&lt;BR /&gt;Also check whether your application does not touch the limits of &lt;BR /&gt;max_files&lt;BR /&gt;max number of open files&lt;BR /&gt;&lt;BR /&gt;max_thread_proc&lt;BR /&gt;max number of thread per each process.&lt;BR /&gt;&lt;BR /&gt;your  swapinfo command shows more amount of usage of memory&lt;BR /&gt;&lt;BR /&gt;Are you running a server with 1GB memory.&lt;BR /&gt;Also your shared memory is set to 1GB.&lt;BR /&gt;What are the values of dbc_max_pct and dbc_min_pct?&lt;BR /&gt;These are the buffer cache parameters.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Also run&lt;BR /&gt;&lt;BR /&gt;UNIX95= ps -e -o ruser,pid,vsz=Kbytes|more&lt;BR /&gt;&lt;BR /&gt;during the time when you see a full memory usage by the server.&lt;BR /&gt;&lt;BR /&gt;If your memory size is 1GB&lt;BR /&gt;you can reduce the dbc_max_pct to 20 and min_pct to 10.&lt;BR /&gt;These paramters define the buffer cache on the system.&lt;BR /&gt;By default they are half the memory on the system.&lt;BR /&gt;Bring them down to the specified values&lt;BR /&gt;&lt;BR /&gt;Also bump up the values of &lt;BR /&gt;maxdsiz&lt;BR /&gt;maxdsiz(if the application is 64 bit)&lt;BR /&gt;&lt;BR /&gt;The kernel maxdsiz value just tells the upper limit for the data segment of a process.&lt;BR /&gt;&lt;BR /&gt;Increase it&lt;BR /&gt;&lt;BR /&gt;Revert</description>
      <pubDate>Mon, 17 Nov 2003 02:22:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-allocate-memory/m-p/3120528#M150691</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2003-11-17T02:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot allocate memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-allocate-memory/m-p/3120529#M150692</link>
      <description>Thanks for your reply&lt;BR /&gt;&lt;BR /&gt;I have K460 server with IGB mem 1GB Swap&lt;BR /&gt;10.20 OS&lt;BR /&gt;dbc_max_pct=50&lt;BR /&gt;dbc_min_pct=5&lt;BR /&gt;maxdsiz=67108864&lt;BR /&gt;do you agree with me to increase the maxdsiz to 134217728, and will it help?&lt;BR /&gt;&lt;BR /&gt;thanks</description>
      <pubDate>Wed, 19 Nov 2003 01:05:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-allocate-memory/m-p/3120529#M150692</guid>
      <dc:creator>Abdullatif Abdulla</dc:creator>
      <dc:date>2003-11-19T01:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot allocate memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-allocate-memory/m-p/3120530#M150693</link>
      <description>Yes,increase maxdsiz also you can bring down your dbc_max_pct to 25&lt;BR /&gt;&lt;BR /&gt;if you are running a 64 bit application then then the 64 bit equ. of maxdsiz i.e maxdsiz_64</description>
      <pubDate>Wed, 19 Nov 2003 01:11:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-allocate-memory/m-p/3120530#M150693</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2003-11-19T01:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot allocate memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-allocate-memory/m-p/3120531#M150694</link>
      <description>Thanks and many thanks.&lt;BR /&gt;After the changes you recommended done the application ran successfuly.&lt;BR /&gt;&lt;BR /&gt;Thanks And many thanks again.&lt;BR /&gt;</description>
      <pubDate>Sat, 22 Nov 2003 11:27:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-allocate-memory/m-p/3120531#M150694</guid>
      <dc:creator>Abdullatif Abdulla</dc:creator>
      <dc:date>2003-11-22T11:27:57Z</dc:date>
    </item>
  </channel>
</rss>

