<?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 limit in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-allocation-limit/m-p/3139290#M717804</link>
    <description>Hi Gautam,&lt;BR /&gt;&lt;BR /&gt;The problem will be kernel tunable maxdsiz for malloc requests for 32bit processes. You haven't mentioned the OS but the default on 10.20 and 11.00 is 67MB, defined in /usr/conf/master.d/core-hpux ;&lt;BR /&gt;&lt;BR /&gt;# grep MAXDSIZ core-hpux&lt;BR /&gt;maxdsiz         MAXDSIZ             0x04000000&lt;BR /&gt;# echo 0x04000000=D|adb&lt;BR /&gt;  67108864&lt;BR /&gt;&lt;BR /&gt;On 11i the default is raised to 256MB. &lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;James.</description>
    <pubDate>Mon, 08 Dec 2003 23:21:49 GMT</pubDate>
    <dc:creator>James Murtagh</dc:creator>
    <dc:date>2003-12-08T23:21:49Z</dc:date>
    <item>
      <title>Memory allocation limit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-allocation-limit/m-p/3139288#M717802</link>
      <description>Hi folks,&lt;BR /&gt;I am experiencing an unusual problem in that, I cannot allocate memory of size ~ 67 MB on a machine having 512 MB main memory. I am using the standard C routine malloc() to allocate the memory. BTW this is a 32 bit application. &lt;BR /&gt;&lt;BR /&gt;Could it be some system setting that has some limitation set to the memory allocation?. I would apperciate any pointers to resolve this problem.&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Dec 2003 22:03:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-allocation-limit/m-p/3139288#M717802</guid>
      <dc:creator>Gautam Shet</dc:creator>
      <dc:date>2003-12-08T22:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: Memory allocation limit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-allocation-limit/m-p/3139289#M717803</link>
      <description>Have a look at this posting:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=210579" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=210579&lt;/A&gt;</description>
      <pubDate>Mon, 08 Dec 2003 22:13:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-allocation-limit/m-p/3139289#M717803</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2003-12-08T22:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: Memory allocation limit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-allocation-limit/m-p/3139290#M717804</link>
      <description>Hi Gautam,&lt;BR /&gt;&lt;BR /&gt;The problem will be kernel tunable maxdsiz for malloc requests for 32bit processes. You haven't mentioned the OS but the default on 10.20 and 11.00 is 67MB, defined in /usr/conf/master.d/core-hpux ;&lt;BR /&gt;&lt;BR /&gt;# grep MAXDSIZ core-hpux&lt;BR /&gt;maxdsiz         MAXDSIZ             0x04000000&lt;BR /&gt;# echo 0x04000000=D|adb&lt;BR /&gt;  67108864&lt;BR /&gt;&lt;BR /&gt;On 11i the default is raised to 256MB. &lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;James.</description>
      <pubDate>Mon, 08 Dec 2003 23:21:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-allocation-limit/m-p/3139290#M717804</guid>
      <dc:creator>James Murtagh</dc:creator>
      <dc:date>2003-12-08T23:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: Memory allocation limit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-allocation-limit/m-p/3139291#M717805</link>
      <description>It is 67 million bytes, which is in fact 64 Megabyte, depending on what you think of as Megabyte. In computer terms it is 1024 * 1024 bytes, while a lot of HD vendors think of Mb as 1000*1000 bytes...&lt;BR /&gt;&lt;BR /&gt;So do a grep of maxdsiz in /stand/system. If it is not there, your limit is probably 64Mb (or 67108864) and you should start sam to change it if you are allowed to.</description>
      <pubDate>Tue, 09 Dec 2003 03:16:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-allocation-limit/m-p/3139291#M717805</guid>
      <dc:creator>Elmar P. Kolkman</dc:creator>
      <dc:date>2003-12-09T03:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: Memory allocation limit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-allocation-limit/m-p/3139292#M717806</link>
      <description>Hi folks,&lt;BR /&gt;Thanks for all your replies. Once I increased the value of maxdsiz to 256MB, using sam, the memory allocation went through fine.</description>
      <pubDate>Wed, 10 Dec 2003 14:06:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-allocation-limit/m-p/3139292#M717806</guid>
      <dc:creator>Gautam Shet</dc:creator>
      <dc:date>2003-12-10T14:06:34Z</dc:date>
    </item>
  </channel>
</rss>

