<?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: can't allocate memory in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/can-t-allocate-memory/m-p/2678838#M52691</link>
    <description>hi &lt;BR /&gt;you have to check wether you have 32 or 64 bit application&lt;BR /&gt;if you have in both cases you have to ask the vendor of that application to tell you the right value parameter from maxdsiz and maxdsiz_64bit.&lt;BR /&gt;second, try to increase your swap by 2 or 2.5 the ram&lt;BR /&gt;because there are some cierten applications need to work in that size of ram.&lt;BR /&gt;test and see,&lt;BR /&gt;regards</description>
    <pubDate>Mon, 11 Mar 2002 07:05:42 GMT</pubDate>
    <dc:creator>MOI_1</dc:creator>
    <dc:date>2002-03-11T07:05:42Z</dc:date>
    <item>
      <title>can't allocate memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-t-allocate-memory/m-p/2678824#M52677</link>
      <description>I have a user running into this error message when attempting to test internal software module. The error mesg is requesting about 700 MB. maxdsize is set to 889 MB, and swapinfo shows about 1 GB free. vmstat only reports about 400 MB free though. ulimit -d is set to 889 MB also. &lt;BR /&gt;How can I tell what might be causing the problem? Should I increase maxdsiz again? This system has 2 GB physical memory about 1.5 Gb swap. TIA</description>
      <pubDate>Fri, 08 Mar 2002 12:29:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-t-allocate-memory/m-p/2678824#M52677</guid>
      <dc:creator>Ken Stallings</dc:creator>
      <dc:date>2002-03-08T12:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: can't allocate memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-t-allocate-memory/m-p/2678825#M52678</link>
      <description>Increase swap to 3 or 4Gb</description>
      <pubDate>Fri, 08 Mar 2002 12:43:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-t-allocate-memory/m-p/2678825#M52678</guid>
      <dc:creator>Carlos Fernandez Riera</dc:creator>
      <dc:date>2002-03-08T12:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: can't allocate memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-t-allocate-memory/m-p/2678826#M52679</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Is there any installation guide for this application that gives the minimum resource requirements?&lt;BR /&gt;&lt;BR /&gt;Try increasing the maxdsiz to 1 GB. Btw, is your application 64-bit? If it is, then remember to increase maxdsiz_64bit as well.&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong</description>
      <pubDate>Fri, 08 Mar 2002 12:48:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-t-allocate-memory/m-p/2678826#M52679</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2002-03-08T12:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: can't allocate memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-t-allocate-memory/m-p/2678827#M52680</link>
      <description>&lt;BR /&gt;The swap area should be 2*RAM &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Ciao&lt;BR /&gt;Federico</description>
      <pubDate>Fri, 08 Mar 2002 13:02:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-t-allocate-memory/m-p/2678827#M52680</guid>
      <dc:creator>federico_3</dc:creator>
      <dc:date>2002-03-08T13:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: can't allocate memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-t-allocate-memory/m-p/2678828#M52681</link>
      <description>See reserved on swapinfo.&lt;BR /&gt;&lt;BR /&gt;add 700Mb and you will find it not keeps on your swap area.&lt;BR /&gt;&lt;BR /&gt;Increase swap area.</description>
      <pubDate>Fri, 08 Mar 2002 13:08:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-t-allocate-memory/m-p/2678828#M52681</guid>
      <dc:creator>Carlos Fernandez Riera</dc:creator>
      <dc:date>2002-03-08T13:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: can't allocate memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-t-allocate-memory/m-p/2678829#M52682</link>
      <description>&lt;BR /&gt;You should try to find out if it is&lt;BR /&gt;your application or hp-ux  that is&lt;BR /&gt;giving this error-message.  I would think&lt;BR /&gt;it is from the application.&lt;BR /&gt;&lt;BR /&gt;One thing you should check  in addition&lt;BR /&gt;to maxdsiz  and swap, is  resources&lt;BR /&gt;for shared memory.&lt;BR /&gt;&lt;BR /&gt;Olav</description>
      <pubDate>Fri, 08 Mar 2002 13:41:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-t-allocate-memory/m-p/2678829#M52682</guid>
      <dc:creator>Olav Baadsvik</dc:creator>
      <dc:date>2002-03-08T13:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: can't allocate memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-t-allocate-memory/m-p/2678830#M52683</link>
      <description>Thanks all. I added another 700 MB swap but I won't know if it helps until the developer reports back to me.  &lt;BR /&gt;If this does fix the problem, why would this be needed when we already have 1 GB free and the user's module is only requesting about 650 MB?</description>
      <pubDate>Fri, 08 Mar 2002 18:17:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-t-allocate-memory/m-p/2678830#M52683</guid>
      <dc:creator>Ken Stallings</dc:creator>
      <dc:date>2002-03-08T18:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: can't allocate memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-t-allocate-memory/m-p/2678831#M52684</link>
      <description>First thing a procces must do is reserve swap space. So if you dont configure as swap ( at least) than physical memory you will not be able to use all.</description>
      <pubDate>Fri, 08 Mar 2002 19:10:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-t-allocate-memory/m-p/2678831#M52684</guid>
      <dc:creator>Carlos Fernandez Riera</dc:creator>
      <dc:date>2002-03-08T19:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: can't allocate memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-t-allocate-memory/m-p/2678832#M52685</link>
      <description>Hi Sean,&lt;BR /&gt;Yes, &lt;BR /&gt;1. you have to increase swap space to minimum 2GB.&lt;BR /&gt;2. Increase your maxdsiz parameter as below :&lt;BR /&gt;&lt;BR /&gt;maxdsiz for 32-bit processes&lt;BR /&gt;&lt;BR /&gt;Minimum : 0x400000 (4 MB)&lt;BR /&gt;MAximum : 0x7B03A000 ( aPPROX. 2GB)&lt;BR /&gt;&lt;BR /&gt;Maxdsiz_64bit for 64 Bit processes :&lt;BR /&gt;min : 0x400000 (4 MB)&lt;BR /&gt;max:  4396972769279  &lt;BR /&gt;&lt;BR /&gt;You can set your maxdsiz parameter to the max value. This will resolve your problem.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;-Piyush.&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Mar 2002 19:56:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-t-allocate-memory/m-p/2678832#M52685</guid>
      <dc:creator>pap</dc:creator>
      <dc:date>2002-03-08T19:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: can't allocate memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-t-allocate-memory/m-p/2678833#M52686</link>
      <description>If the developer is writing a 32bit application, there are a lot of restrictions and map limitations. The 2Gb of RAM you have is not directly available as 2Gb. Instead, programs have 1Gb data, text and stack quadrants which are further restricted by all the other processes and use of memory on your system. &lt;BR /&gt;&lt;BR /&gt;Print out a a copy of the memory and process management white papers in /usr/share/doc. There are two versions: plain text and the easier to read Postscript versions. 32bit programs are severely constrained when RAM gets into hundreds of megs. 64bits removes the restrictions (well, terabytes of RAM)</description>
      <pubDate>Sat, 09 Mar 2002 02:12:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-t-allocate-memory/m-p/2678833#M52686</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2002-03-09T02:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: can't allocate memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-t-allocate-memory/m-p/2678834#M52687</link>
      <description>To say that you "have" to increase the swap space may be strong wording.  You may not necessarily 'need' to have swap equal to or greater than physical memory.  It is true that the system wants to lock a swap area for a process when it is exec'ed or fork'ed.  If you have the kernel param 'swapmem' set to 1, you are enabling what is called 'psuedoswap'.  psuedoswap allows up to 3/4 of your physical memory to act as swap area for the locking of the swap area.  On a system where you have this enabled, and you have low paging, the system can be perfectly happy 'borrowing' physical memory for swap area.  On a system where swapmem is set to zero, and you have less swap than memory, the system has to stop allocating space for processes when you hit the limit based on your swap size.  &lt;BR /&gt;&lt;BR /&gt;It is up to you.  For me, it is a waste of space to have disk used just to have swap area to lock on systems with more than 2GB physical memory.  (Think of it this way, you should never be in a situation where you have to use the swap space.  It is a stop-gap for emergencies.  When you find you are using it, you should start planning your next step, either relieving the pressure by moving apps, or upgrading the machine.  This is just me talking, though.)  (I also don't even want to get into databases and their requirements for swap.)  If you have a canned package, they should also be giving you minimum guidelines on how your system is configured...&lt;BR /&gt;&lt;BR /&gt;John</description>
      <pubDate>Mon, 11 Mar 2002 06:26:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-t-allocate-memory/m-p/2678834#M52687</guid>
      <dc:creator>John Payne_2</dc:creator>
      <dc:date>2002-03-11T06:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: can't allocate memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-t-allocate-memory/m-p/2678835#M52688</link>
      <description>To say that you "have" to increase the swap space may be strong wording.  You may not necessarily 'need' to have swap equal to or greater than physical memory.  It is true that the system wants to lock a swap area for a process when it is exec'ed or fork'ed.  If you have the kernel param 'swapmem' set to 1, you are enabling what is called 'psuedoswap'.  psuedoswap allows up to 3/4 of your physical memory to act as swap area for the locking of the swap area.  On a system where you have this enabled, and you have low paging, the system can be perfectly happy 'borrowing' physical memory for swap area.  On a system where swapmem is set to zero, and you have less swap than memory, the system has to stop allocating space for processes when you hit the limit based on your swap size.  &lt;BR /&gt;&lt;BR /&gt;It is up to you.  For me, it is a waste of space to have disk used just to have swap area to lock on systems with more than 2GB physical memory.  (Think of it this way, you should never be in a situation where you have to use the swap space.  It is a stop-gap for emergencies.  When you find you are using it, you should start planning your next step, either relieving the pressure by moving apps, or upgrading the machine.  This is just me talking, though.)  (I also don't even want to get into databases and their requirements for swap.)  If you have a canned package, they should also be giving you minimum guidelines on how your system is configured...&lt;BR /&gt;&lt;BR /&gt;John</description>
      <pubDate>Mon, 11 Mar 2002 06:27:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-t-allocate-memory/m-p/2678835#M52688</guid>
      <dc:creator>John Payne_2</dc:creator>
      <dc:date>2002-03-11T06:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: can't allocate memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-t-allocate-memory/m-p/2678836#M52689</link>
      <description>To say that you "have" to increase the swap space may be strong wording.  You may not necessarily 'need' to have swap equal to or greater than physical memory.  It is true that the system wants to lock a swap area for a process when it is exec'ed or fork'ed.  If you have the kernel param 'swapmem' set to 1, you are enabling what is called 'psuedoswap'.  psuedoswap allows up to 3/4 of your physical memory to act as swap area for the locking of the swap area.  On a system where you have this enabled, and you have low paging, the system can be perfectly happy 'borrowing' physical memory for swap area.  On a system where swapmem is set to zero, and you have less swap than memory, the system has to stop allocating space for processes when you hit the limit based on your swap size.  &lt;BR /&gt;&lt;BR /&gt;It is up to you.  For me, it is a waste of space to have disk used just to have swap area to lock on systems with more than 2GB physical memory.  (Think of it this way, you should never be in a situation where you have to use the swap space.  It is a stop-gap for emergencies.  When you find you are using it, you should start planning your next step, either relieving the pressure by moving apps, or upgrading the machine.  This is just me talking, though.)  (I also don't even want to get into databases and their requirements for swap.)  If you have a canned package, they should also be giving you minimum guidelines on how your system is configured...&lt;BR /&gt;&lt;BR /&gt;John</description>
      <pubDate>Mon, 11 Mar 2002 06:30:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-t-allocate-memory/m-p/2678836#M52689</guid>
      <dc:creator>John Payne_2</dc:creator>
      <dc:date>2002-03-11T06:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: can't allocate memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-t-allocate-memory/m-p/2678837#M52690</link>
      <description>Sorry about that, something was wrong with the forum, got an error twice, and the post didn't show up.  Then third time, all three showed...&lt;BR /&gt;&lt;BR /&gt;John</description>
      <pubDate>Mon, 11 Mar 2002 06:34:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-t-allocate-memory/m-p/2678837#M52690</guid>
      <dc:creator>John Payne_2</dc:creator>
      <dc:date>2002-03-11T06:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: can't allocate memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-t-allocate-memory/m-p/2678838#M52691</link>
      <description>hi &lt;BR /&gt;you have to check wether you have 32 or 64 bit application&lt;BR /&gt;if you have in both cases you have to ask the vendor of that application to tell you the right value parameter from maxdsiz and maxdsiz_64bit.&lt;BR /&gt;second, try to increase your swap by 2 or 2.5 the ram&lt;BR /&gt;because there are some cierten applications need to work in that size of ram.&lt;BR /&gt;test and see,&lt;BR /&gt;regards</description>
      <pubDate>Mon, 11 Mar 2002 07:05:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-t-allocate-memory/m-p/2678838#M52691</guid>
      <dc:creator>MOI_1</dc:creator>
      <dc:date>2002-03-11T07:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: can't allocate memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-t-allocate-memory/m-p/2678839#M52692</link>
      <description>Developer reported back that adding swap did the trick. Thanks all. &lt;BR /&gt;FYI, swapmem_on is set to 1 and the system doesn't seem to be using swap under normal loads. I didn't get to watch while the user ran her test though.</description>
      <pubDate>Mon, 11 Mar 2002 15:06:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-t-allocate-memory/m-p/2678839#M52692</guid>
      <dc:creator>Ken Stallings</dc:creator>
      <dc:date>2002-03-11T15:06:26Z</dc:date>
    </item>
  </channel>
</rss>

