<?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: max use unshared memory for a process in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/max-use-unshared-memory-for-a-process/m-p/2789611#M79387</link>
    <description>There are many different limits on memory use, so it is complicated to find out which limit a process will reach first.  Here is a list-&lt;BR /&gt;- All processes are limited by the available swap, which can be checked with "swapinfo -t" or pstat_getswap().  The value will change as other programs use more or less swap.  You can cheat a little on swap allocation by using "chatr +z", but you risk an unexpected exit.&lt;BR /&gt;- All processes are limited by the ulimit values that you can check with the shell ulimit commands or getrlimit().&lt;BR /&gt;- Processes are limited by the kernel maxdsiz or maxdsize_64bit parameters.&lt;BR /&gt;- 32-bit processes are limited by the address space.  Processes linked with '-N' start mallocing at the top of the text and data areas.  Processes linked without '-N' start mallocing around 0x40000000.  Their malloc calls are then stopped at 0x80000000 unless the ld/chatr +q3p feature is used to allow them to grow to almost 0xc0000000.  The 11i release also has a +q4p feature that allows malloc to reach almost 0xf0000000.&lt;BR /&gt;&lt;BR /&gt;I have attached a couple of programs that report some memory features affecting maximum data size.&lt;BR /&gt;</description>
    <pubDate>Wed, 21 Aug 2002 15:07:02 GMT</pubDate>
    <dc:creator>Mike Stroyan</dc:creator>
    <dc:date>2002-08-21T15:07:02Z</dc:date>
    <item>
      <title>max use unshared memory for a process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/max-use-unshared-memory-for-a-process/m-p/2789608#M79384</link>
      <description>How can I detect how much unshared memory can be used at most by 1 process ?&lt;BR /&gt;&lt;BR /&gt;This will definitely be equal to the memory size minus the shared memory, but I would like to know if there are other limits.&lt;BR /&gt;&lt;BR /&gt;HP-UX 11&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;&lt;BR /&gt;Franky Leeuwerck&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Aug 2002 09:19:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/max-use-unshared-memory-for-a-process/m-p/2789608#M79384</guid>
      <dc:creator>Franky Leeuwerck</dc:creator>
      <dc:date>2002-08-20T09:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: max use unshared memory for a process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/max-use-unshared-memory-for-a-process/m-p/2789609#M79385</link>
      <description>buffer cache:&lt;BR /&gt;&lt;BR /&gt;dbc_max_pct&lt;BR /&gt;dbc_min_pct&lt;BR /&gt;&lt;BR /&gt;And about forty other kernel parameters that consume memory.&lt;BR /&gt;&lt;BR /&gt;When in doubt add more memory and use the new memory for your process.&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Tue, 20 Aug 2002 09:35:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/max-use-unshared-memory-for-a-process/m-p/2789609#M79385</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-08-20T09:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: max use unshared memory for a process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/max-use-unshared-memory-for-a-process/m-p/2789610#M79386</link>
      <description>Try this document:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.faqs.org/faqs/hp/hpux-faq/section-140.html" target="_blank"&gt;http://www.faqs.org/faqs/hp/hpux-faq/section-140.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;or this:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.interex.org/conference/iworks2001/proceedings/1034/1034.pdf" target="_blank"&gt;http://www.interex.org/conference/iworks2001/proceedings/1034/1034.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Tue, 20 Aug 2002 09:47:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/max-use-unshared-memory-for-a-process/m-p/2789610#M79386</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-08-20T09:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: max use unshared memory for a process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/max-use-unshared-memory-for-a-process/m-p/2789611#M79387</link>
      <description>There are many different limits on memory use, so it is complicated to find out which limit a process will reach first.  Here is a list-&lt;BR /&gt;- All processes are limited by the available swap, which can be checked with "swapinfo -t" or pstat_getswap().  The value will change as other programs use more or less swap.  You can cheat a little on swap allocation by using "chatr +z", but you risk an unexpected exit.&lt;BR /&gt;- All processes are limited by the ulimit values that you can check with the shell ulimit commands or getrlimit().&lt;BR /&gt;- Processes are limited by the kernel maxdsiz or maxdsize_64bit parameters.&lt;BR /&gt;- 32-bit processes are limited by the address space.  Processes linked with '-N' start mallocing at the top of the text and data areas.  Processes linked without '-N' start mallocing around 0x40000000.  Their malloc calls are then stopped at 0x80000000 unless the ld/chatr +q3p feature is used to allow them to grow to almost 0xc0000000.  The 11i release also has a +q4p feature that allows malloc to reach almost 0xf0000000.&lt;BR /&gt;&lt;BR /&gt;I have attached a couple of programs that report some memory features affecting maximum data size.&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Aug 2002 15:07:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/max-use-unshared-memory-for-a-process/m-p/2789611#M79387</guid>
      <dc:creator>Mike Stroyan</dc:creator>
      <dc:date>2002-08-21T15:07:02Z</dc:date>
    </item>
  </channel>
</rss>

