<?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: FORTRAN Runtime ERROR:    Memory allocation failed in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/fortran-runtime-error-memory-allocation-failed/m-p/3541460#M223333</link>
    <description>Hi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;memory limitations are well explained at&lt;BR /&gt;&lt;BR /&gt;ftp://eh:spear9@hprc.external.hp.com/memory.htm&lt;BR /&gt;&lt;BR /&gt;If you see â  out of memoryâ   or â  not enough spaceâ   when running an application, and there is pleny of free swap space then the application may be requesting shared memory or may be mapping files to memory (with shmget() and mmap() system calls respectively) and the problem may due to 32-bit memory limitation/contention and the options are...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 11 May 2005 01:58:22 GMT</pubDate>
    <dc:creator>Steve Steel</dc:creator>
    <dc:date>2005-05-11T01:58:22Z</dc:date>
    <item>
      <title>FORTRAN Runtime ERROR:    Memory allocation failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fortran-runtime-error-memory-allocation-failed/m-p/3541454#M223327</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;Getting memory errors with a fortran f90-program.&lt;BR /&gt;&lt;BR /&gt;The progamm uses "allocated arrays".&lt;BR /&gt;&lt;BR /&gt;When increasing memory values the programm crashes with &lt;BR /&gt;  FORTRAN Runtime ERROR:&lt;BR /&gt;  Memory allocation failed&lt;BR /&gt;&lt;BR /&gt;SHMMAX already set to 2GB&lt;BR /&gt;&lt;BR /&gt;Processes with a more than 1G size always fail any thing below 1G works ok.&lt;BR /&gt;&lt;BR /&gt;Machine is 9000/785/J6750 with 8GB physical memory with hpux 11.11 on it, when fortran process is running i could see 6G still free. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Any help ? any other Kernel parameter needs increasing ? &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;k. girsch&lt;BR /&gt;</description>
      <pubDate>Tue, 10 May 2005 10:04:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fortran-runtime-error-memory-allocation-failed/m-p/3541454#M223327</guid>
      <dc:creator>Zee</dc:creator>
      <dc:date>2005-05-10T10:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: FORTRAN Runtime ERROR:    Memory allocation failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fortran-runtime-error-memory-allocation-failed/m-p/3541455#M223328</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Which version of F90 is it&lt;BR /&gt;&lt;BR /&gt;Which is latest patch&lt;BR /&gt;&lt;BR /&gt;How much swap do you have&lt;BR /&gt;&lt;BR /&gt;Normally will work if&lt;BR /&gt;a)swapinfo -tam &lt;BR /&gt;shows more  than the program needs &lt;BR /&gt;     and the space is available.&lt;BR /&gt;     (&lt;BR /&gt;NOTE:size program &lt;BR /&gt;gives an indication of the run time size&lt;BR /&gt;&lt;BR /&gt;b)maxdsiz_64bit is sufficient to accomadate the program .&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;See&lt;BR /&gt;ftp://eh:spear9@hprc.external.hp.com/memory.htm&lt;BR /&gt;&lt;BR /&gt;To help you check your memory usage&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;                    Steve Steel&lt;BR /&gt;</description>
      <pubDate>Tue, 10 May 2005 10:14:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fortran-runtime-error-memory-allocation-failed/m-p/3541455#M223328</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2005-05-10T10:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: FORTRAN Runtime ERROR:    Memory allocation failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fortran-runtime-error-memory-allocation-failed/m-p/3541456#M223329</link>
      <description>Is the program 32 bit program?? If yes, it cannot access anythoing more than 1.75 GB.&lt;BR /&gt;How do you start it?? From shell?? Post following.&lt;BR /&gt;&lt;BR /&gt;ulimit -Sa and ulimit -Ha&lt;BR /&gt;&lt;BR /&gt;Also, you may want to run that program with tusc and see what exactly happens??&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Tue, 10 May 2005 10:14:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fortran-runtime-error-memory-allocation-failed/m-p/3541456#M223329</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-05-10T10:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: FORTRAN Runtime ERROR:    Memory allocation failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fortran-runtime-error-memory-allocation-failed/m-p/3541457#M223330</link>
      <description>Dynamic memory is controlled by the maxdsiz parameter (or maxdsiz_64bit for 64-bit processes). This is the tunable that needs to be increased. However, if this is a 32-bit process then you are running into problems trying to cross a 1GB quadrant. Man chatr to see about setting options for larger data segments. You should also note that maxdsiz_64bit must be set to at least as large as maxdsiz.</description>
      <pubDate>Tue, 10 May 2005 10:19:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fortran-runtime-error-memory-allocation-failed/m-p/3541457#M223330</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-05-10T10:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: FORTRAN Runtime ERROR:    Memory allocation failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fortran-runtime-error-memory-allocation-failed/m-p/3541458#M223331</link>
      <description>All, answers to your question.&lt;BR /&gt;&lt;BR /&gt;dont know the fortran version. &lt;BR /&gt;&lt;BR /&gt;# swapinfo -ta&lt;BR /&gt;             Kb      Kb      Kb   PCT  START/      Kb&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME&lt;BR /&gt;dev     4194304       0 4194304    0%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;dev     16777216       0 16777216    0%       0       -    1  /dev/vg00/swap&lt;BR /&gt;reserve       -  482464 -482464&lt;BR /&gt;memory  6469976  625676 5844300   10%&lt;BR /&gt;total   27441496 1108140 26333356    4%       -       0    -&lt;BR /&gt;&lt;BR /&gt;maxdsiz - 2147483648   &lt;BR /&gt;maxdsiz_64bit -17179869184   &lt;BR /&gt;&lt;BR /&gt;The fortran program is complied on 64bit hpux. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The program starts in shell.&lt;BR /&gt;&lt;BR /&gt;# ulimit -Sa&lt;BR /&gt;time(seconds)        unlimited&lt;BR /&gt;file(blocks)         unlimited&lt;BR /&gt;data(kbytes)         unlimited&lt;BR /&gt;stack(kbytes)        392192&lt;BR /&gt;memory(kbytes)       unlimited&lt;BR /&gt;coredump(blocks)     4194303&lt;BR /&gt;nofiles(descriptors) 1024&lt;BR /&gt;&lt;BR /&gt;# ulimit -Ha&lt;BR /&gt;time(seconds)        unlimited&lt;BR /&gt;file(blocks)         unlimited&lt;BR /&gt;data(kbytes)         unlimited&lt;BR /&gt;stack(kbytes)        392192&lt;BR /&gt;memory(kbytes)       unlimited&lt;BR /&gt;coredump(blocks)     unlimited&lt;BR /&gt;nofiles(descriptors) 1024&lt;BR /&gt;&lt;BR /&gt;Thanks in adv, &lt;BR /&gt;Zee&lt;BR /&gt;</description>
      <pubDate>Tue, 10 May 2005 10:28:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fortran-runtime-error-memory-allocation-failed/m-p/3541458#M223331</guid>
      <dc:creator>Zee</dc:creator>
      <dc:date>2005-05-10T10:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: FORTRAN Runtime ERROR:    Memory allocation failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fortran-runtime-error-memory-allocation-failed/m-p/3541459#M223332</link>
      <description>It doesn't matter if it was compiled/linked on a 64-bit machine/os. What matters if it was compiled/link as a 64-bit executable. I'm pretty sure that you are hitting a 32-bit quadrant limit.&lt;BR /&gt;&lt;BR /&gt;Run this command and post the results:&lt;BR /&gt;chatr your.exe&lt;BR /&gt;</description>
      <pubDate>Tue, 10 May 2005 11:21:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fortran-runtime-error-memory-allocation-failed/m-p/3541459#M223332</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-05-10T11:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: FORTRAN Runtime ERROR:    Memory allocation failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fortran-runtime-error-memory-allocation-failed/m-p/3541460#M223333</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;memory limitations are well explained at&lt;BR /&gt;&lt;BR /&gt;ftp://eh:spear9@hprc.external.hp.com/memory.htm&lt;BR /&gt;&lt;BR /&gt;If you see â  out of memoryâ   or â  not enough spaceâ   when running an application, and there is pleny of free swap space then the application may be requesting shared memory or may be mapping files to memory (with shmget() and mmap() system calls respectively) and the problem may due to 32-bit memory limitation/contention and the options are...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 11 May 2005 01:58:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fortran-runtime-error-memory-allocation-failed/m-p/3541460#M223333</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2005-05-11T01:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: FORTRAN Runtime ERROR:    Memory allocation failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fortran-runtime-error-memory-allocation-failed/m-p/3541461#M223334</link>
      <description># hpux164: chatr tf3d-nhs-O2.x&lt;BR /&gt;tf3d-nhs-O2.x:&lt;BR /&gt;         shared executable&lt;BR /&gt;         shared library dynamic path search:&lt;BR /&gt;             SHLIB_PATH     disabled  second&lt;BR /&gt;             embedded path  disabled  first  Not Defined&lt;BR /&gt;         shared library list:&lt;BR /&gt;             dynamic   /usr/lib//libcl.2&lt;BR /&gt;             dynamic   /usr/lib//libc.2&lt;BR /&gt;         shared library binding:&lt;BR /&gt;             deferred&lt;BR /&gt;         global hash table disabled&lt;BR /&gt;         plabel caching disabled&lt;BR /&gt;         global hash array size:1103&lt;BR /&gt;         global hash array nbuckets:3&lt;BR /&gt;         shared vtable support disabled&lt;BR /&gt;         static branch prediction disabled&lt;BR /&gt;         executable from stack: D (default)&lt;BR /&gt;         kernel assisted branch prediction enabled&lt;BR /&gt;         lazy swap allocation disabled&lt;BR /&gt;         text segment locking disabled&lt;BR /&gt;         data segment locking disabled&lt;BR /&gt;         third quadrant private data space disabled&lt;BR /&gt;         fourth quadrant private data space disabled&lt;BR /&gt;         third quadrant global data space disabled&lt;BR /&gt;         data page size: D (default)&lt;BR /&gt;         instruction page size: D (default)&lt;BR /&gt;         nulptr references disabled&lt;BR /&gt;         shared library private mapping disabled&lt;BR /&gt;         shared library text merging disabled&lt;BR /&gt;</description>
      <pubDate>Wed, 11 May 2005 02:32:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fortran-runtime-error-memory-allocation-failed/m-p/3541461#M223334</guid>
      <dc:creator>Zee</dc:creator>
      <dc:date>2005-05-11T02:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: FORTRAN Runtime ERROR:    Memory allocation failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fortran-runtime-error-memory-allocation-failed/m-p/3541462#M223335</link>
      <description>Thank you all, the problem was 32bit,&lt;BR /&gt;&lt;BR /&gt;re-complied with 64 bit compiler, and seems ok now .</description>
      <pubDate>Wed, 11 May 2005 03:54:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fortran-runtime-error-memory-allocation-failed/m-p/3541462#M223335</guid>
      <dc:creator>Zee</dc:creator>
      <dc:date>2005-05-11T03:54:46Z</dc:date>
    </item>
  </channel>
</rss>

