<?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 memory access limit by 32bit apps in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-access-limit-by-32bit-apps/m-p/3794752#M781829</link>
    <description>I was told that on HP UX 11.x a 32-bit application cannot access more then 1gb of memory - regardless of what the kernel parameters are set for - unless the app was compiled with a "magic" option.  Can anyone confirm this?  Thx in advance.</description>
    <pubDate>Thu, 25 May 2006 09:45:49 GMT</pubDate>
    <dc:creator>Trojan36</dc:creator>
    <dc:date>2006-05-25T09:45:49Z</dc:date>
    <item>
      <title>memory access limit by 32bit apps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-access-limit-by-32bit-apps/m-p/3794752#M781829</link>
      <description>I was told that on HP UX 11.x a 32-bit application cannot access more then 1gb of memory - regardless of what the kernel parameters are set for - unless the app was compiled with a "magic" option.  Can anyone confirm this?  Thx in advance.</description>
      <pubDate>Thu, 25 May 2006 09:45:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-access-limit-by-32bit-apps/m-p/3794752#M781829</guid>
      <dc:creator>Trojan36</dc:creator>
      <dc:date>2006-05-25T09:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: memory access limit by 32bit apps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-access-limit-by-32bit-apps/m-p/3794753#M781830</link>
      <description>That is absolutely correct.&lt;BR /&gt;&lt;BR /&gt;Have a look at these whitepapers:&lt;BR /&gt;&lt;BR /&gt;Title: HP-UX Memory Management White Paper, Part I&lt;BR /&gt;Document ID: WP1030009A&lt;BR /&gt;Last Modified Date: 8/16/02&lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000062686726" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000062686726&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Submitted Date: 8/21/97&lt;BR /&gt;Title: HP-UX Memory Management White Paper, Part II&lt;BR /&gt;Document ID: WP1030009B&lt;BR /&gt;Last Modified Date: 8/22/97&lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000009254450" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000009254450&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 25 May 2006 09:53:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-access-limit-by-32bit-apps/m-p/3794753#M781830</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2006-05-25T09:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: memory access limit by 32bit apps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-access-limit-by-32bit-apps/m-p/3794754#M781831</link>
      <description>That is correct. 32-bit PA-RISC address space is divided into 4 1GB quadrants. The normal compile puts the stack and data space in the same 1GB quadrant so that only if the stack is small will you even be able to approach the 1GB limit. Typically maxssiz should be set to about 32MB and with a maxdsiz of 1GB, you may be able to dynamically allocate 1GB - 32MB of data space. If you have set maxssiz larger the you are robbing Peter to pay Paul. The compiler options (e.g. -N allow data to be allocated from more than 1 quadrant).</description>
      <pubDate>Thu, 25 May 2006 09:55:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-access-limit-by-32bit-apps/m-p/3794754#M781831</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-05-25T09:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: memory access limit by 32bit apps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-access-limit-by-32bit-apps/m-p/3794755#M781832</link>
      <description>While it is correct that a plain 32bit program can only allocate 1Gb (actually, about 960megs), you have comiler options and chatr options that can extend these limits. But read the memory management white papers 'cause there's a LOT of limitations.&lt;BR /&gt; &lt;BR /&gt;I have attached a simple C program that can be compiled 5 different ways to show how much memory can be malloc'ed based on compiler and chatr options. As noted in the comments, anything above 1700 megs will require up to date patches, especially on 11.00. A 32bit program can reach as much as 3500 megs but with lots of restrictions. The program can also be compiled as a 64bit program and can allocated dozens to hundreds of Gb. That is the primary reason to use 64bit programs.</description>
      <pubDate>Thu, 25 May 2006 23:24:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-access-limit-by-32bit-apps/m-p/3794755#M781832</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-05-25T23:24:09Z</dc:date>
    </item>
  </channel>
</rss>

