<?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 aCC: (Not enough memory...) in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/acc-not-enough-memory/m-p/4133134#M93216</link>
    <description>Hi all&lt;BR /&gt;I'm using &lt;BR /&gt;aCC: HP ANSI C++ B3910B A.03.80 on HP-UX 11.11&lt;BR /&gt;and I'm having error &lt;BR /&gt;&lt;BR /&gt;aCC: Not enough memory is available to finish the compilation.&lt;BR /&gt;&lt;BR /&gt;Please help.&lt;BR /&gt;Thank you.</description>
    <pubDate>Mon, 21 Jan 2008 22:40:28 GMT</pubDate>
    <dc:creator>Vladimir Mironov</dc:creator>
    <dc:date>2008-01-21T22:40:28Z</dc:date>
    <item>
      <title>aCC: (Not enough memory...)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/acc-not-enough-memory/m-p/4133134#M93216</link>
      <description>Hi all&lt;BR /&gt;I'm using &lt;BR /&gt;aCC: HP ANSI C++ B3910B A.03.80 on HP-UX 11.11&lt;BR /&gt;and I'm having error &lt;BR /&gt;&lt;BR /&gt;aCC: Not enough memory is available to finish the compilation.&lt;BR /&gt;&lt;BR /&gt;Please help.&lt;BR /&gt;Thank you.</description>
      <pubDate>Mon, 21 Jan 2008 22:40:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/acc-not-enough-memory/m-p/4133134#M93216</guid>
      <dc:creator>Vladimir Mironov</dc:creator>
      <dc:date>2008-01-21T22:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: aCC: (Not enough memory...)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/acc-not-enough-memory/m-p/4133135#M93217</link>
      <description>Vladimir,&lt;BR /&gt;&lt;BR /&gt;Welcome to the ITRC forum for HPUX.&lt;BR /&gt;&lt;BR /&gt;WAG: Your system is probably not configured to allow enough Virtual memory.&lt;BR /&gt;Check the setting for  maxdsiz &lt;BR /&gt;&lt;BR /&gt;Please realize that we are a helpful bunch here, but we are not mindreaders. Please proved some more info.&lt;BR /&gt;&lt;BR /&gt;- Is this a 'big' program? &lt;BR /&gt;- Does a small 'hello world' program compile?&lt;BR /&gt;- Did it ever work?&lt;BR /&gt;- What was changed?&lt;BR /&gt;- Does it work somewhere else?&lt;BR /&gt;- Check the output for:  $ ulimit -a&lt;BR /&gt;- Check out /etc/swapinfo&lt;BR /&gt;- hwo much physical memory? How much swap&lt;BR /&gt; &lt;BR /&gt;- Oracle and Sap and others come with tools to check how much memory you can atuacll use. They have names liek 'memlimit'.&lt;BR /&gt;&lt;BR /&gt;For a detailed/advance study, check out:&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/1218/mem_mgt.html" target="_blank"&gt;http://docs.hp.com/en/1218/mem_mgt.html&lt;/A&gt;&lt;BR /&gt;and/or&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/5965-4641/index.html" target="_blank"&gt;http://docs.hp.com/en/5965-4641/index.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.scribd.com/doc/7089/HPUX-Kernel-Tuning-Guide" target="_blank"&gt;http://www.scribd.com/doc/7089/HPUX-Kernel-Tuning-Guide&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Good luck!&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Jan 2008 00:13:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/acc-not-enough-memory/m-p/4133135#M93217</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2008-01-22T00:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: aCC: (Not enough memory...)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/acc-not-enough-memory/m-p/4133136#M93218</link>
      <description>As Hein says, you are most likely have maxdsiz too small.  You should set it to 1 Gb.  If you are doing lots of compiles at once, you may not have enough swapspace.&lt;BR /&gt;&lt;BR /&gt;What opt level are you using?</description>
      <pubDate>Tue, 22 Jan 2008 00:53:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/acc-not-enough-memory/m-p/4133136#M93218</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-01-22T00:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: aCC: (Not enough memory...)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/acc-not-enough-memory/m-p/4133137#M93219</link>
      <description>&lt;!--!*#--&gt;Thank you very much for your response. &lt;BR /&gt;My application is a daemon. It was written for Linux ( compiled with gcc ) . I ported it to Sparc Solaris8 and Sparc Solaris9 (  compiled with gcc as well ) . Now I' m trying to port it to HP-UX 11.11. On all systems It has executable ~2.5Mb large and 5 libraries ( one is 300k and four are between 1.0-1.5Mb each ) . So I assume that' s a big app. I managed to build and run small "hello world" application without any problem.&lt;BR /&gt;There are ACE 5.6 and Boost 1.34.1 libraries used. ACE - statically linked libraries, boost - just includes.&lt;BR /&gt;I' m using aCC because it' s preferred compiler for ACE. Also I' m using bjam 3.1.1.6 and boost build scripts v.2.12&lt;BR /&gt;&lt;BR /&gt;That's result of calling swapinfo: &lt;BR /&gt;&lt;BR /&gt;bash-3.2# /etc/swapinfo&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;&lt;BR /&gt;reserve       -     527780 -527780&lt;BR /&gt;&lt;BR /&gt;memory  1587280   88708 1498572    6%&lt;BR /&gt;&lt;BR /&gt;That's ulimit -a:&lt;BR /&gt;&lt;BR /&gt;bash-3.2# ulimit -a&lt;BR /&gt;core file size          (blocks, -c) 2097151&lt;BR /&gt;data seg size           (kbytes, -d) 4063168&lt;BR /&gt;file size               (blocks, -f) unlimited&lt;BR /&gt;max memory size         (kbytes, -m) unlimited&lt;BR /&gt;open files                      (-n) 4096&lt;BR /&gt;pipe size            (512 bytes, -p) 16&lt;BR /&gt;stack size              (kbytes, -s) 131072&lt;BR /&gt;cpu time               (seconds, -t) unlimited&lt;BR /&gt;max user processes              (-u) 6567&lt;BR /&gt;virtual memory          (kbytes, -v) unlimited&lt;BR /&gt;&lt;BR /&gt;So as far as I can understand there is enough memory and swap file. maxdsize set to maximum as well. I attached build output, looks like it managed to compile some source files before run out of memory.&lt;BR /&gt;&lt;BR /&gt;Hope this info will help you to help me :).&lt;BR /&gt;&lt;BR /&gt;Thank you, &lt;BR /&gt;Vlad.&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Jan 2008 20:32:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/acc-not-enough-memory/m-p/4133137#M93219</guid>
      <dc:creator>Vladimir Mironov</dc:creator>
      <dc:date>2008-01-25T20:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: aCC: (Not enough memory...)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/acc-not-enough-memory/m-p/4133138#M93220</link>
      <description>&amp;gt;I' m trying to port it to HP-UX 11.11.&lt;BR /&gt;&lt;BR /&gt;If you were on IPF, you wouldn't have a problem because the A.06.15 compiler is 64 bit and aCC6 is much better.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;So I assume that' s a big app.&lt;BR /&gt;&lt;BR /&gt;Not really.  ecom is 75 Mb.  :-)&lt;BR /&gt;&lt;BR /&gt;&amp;gt;result of calling swapinfo:&lt;BR /&gt;&lt;BR /&gt;swapinfo -tam is always preferred so we don't have to do any thinking.  It seems you only have 6 Gb?  Something that would have problems if you did multiple compiles at once.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;data seg size  (kbytes, -d) 4063168&lt;BR /&gt;&lt;BR /&gt;Ok, that's more than the 1 Gb that you can use.&lt;BR /&gt;It might be interesting if you used top while it was compiling and note when it grows.&lt;BR /&gt;Also try using "+time".&lt;BR /&gt;&lt;BR /&gt;&amp;gt;stack size    (kbytes, -s) 131072&lt;BR /&gt;&lt;BR /&gt;This takes away 100 Mb.  You may want to reduce this in your script to build, to 50000 Kb.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Hope this info will help you to help me :).&lt;BR /&gt;&lt;BR /&gt;Not really.  I don't see you optimizing?&lt;BR /&gt;Do you have a big functions in CommonTask.cpp?&lt;BR /&gt;You could be bloating the compiler with those Boost templates?&lt;BR /&gt;Try removing -g.  Then remove +d?&lt;BR /&gt;&lt;BR /&gt;You could try the new option +hpxstd98.</description>
      <pubDate>Sat, 26 Jan 2008 10:26:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/acc-not-enough-memory/m-p/4133138#M93220</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-01-26T10:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: aCC: (Not enough memory...)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/acc-not-enough-memory/m-p/4133139#M93221</link>
      <description>Thank you very much. &lt;BR /&gt;+hpxstd98 did the trick. It asked me to rebuild ACE library with +Z option, and then to rebuild app itself. After that compilation succeeded. &lt;BR /&gt;I have enough memory and CommonTask.cpp doesn't contain a big functions, there are just couple Boost templates. So, the problem I think was in the way aCC deals with templates.&lt;BR /&gt;Thank you.&lt;BR /&gt;Vlad.&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Jan 2008 15:58:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/acc-not-enough-memory/m-p/4133139#M93221</guid>
      <dc:creator>Vladimir Mironov</dc:creator>
      <dc:date>2008-01-30T15:58:24Z</dc:date>
    </item>
  </channel>
</rss>

