<?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: malloc failed in ObjStackBlock in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/malloc-failed-in-objstackblock/m-p/3487024#M847966</link>
    <description>This&lt;BR /&gt;&lt;BR /&gt;kmtune | grep max.siz*&lt;BR /&gt;&lt;BR /&gt;produces what?&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry d brown jr</description>
    <pubDate>Wed, 16 Feb 2005 06:59:58 GMT</pubDate>
    <dc:creator>harry d brown jr</dc:creator>
    <dc:date>2005-02-16T06:59:58Z</dc:date>
    <item>
      <title>malloc failed in ObjStackBlock</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/malloc-failed-in-objstackblock/m-p/3487023#M847965</link>
      <description>Hi all&lt;BR /&gt;&lt;BR /&gt;I have a executable that crashes with the following error message:&lt;BR /&gt;"malloc failed in ObjStackBlock. &lt;BR /&gt;Out of memory while reading in symbol table &lt;BR /&gt;Error&amp;lt;1&amp;gt;: Out of memory while tracing stack. &lt;BR /&gt;Error&amp;lt;1&amp;gt;: Out of memory while tracing stack. &lt;BR /&gt;Error&amp;lt;1&amp;gt;: Out of memory while tracing stack.&lt;BR /&gt; &lt;BR /&gt;The OS version is HP-UX 11.00 and runs a 64-bit processor. The executable runs a 32-bit so I increased the maxssiz kernel tunable to it's maximum value. &lt;BR /&gt;The situation persists. &lt;BR /&gt;&lt;BR /&gt;Can anyone help....&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;SN</description>
      <pubDate>Wed, 16 Feb 2005 06:46:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/malloc-failed-in-objstackblock/m-p/3487023#M847965</guid>
      <dc:creator>Starrynight</dc:creator>
      <dc:date>2005-02-16T06:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: malloc failed in ObjStackBlock</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/malloc-failed-in-objstackblock/m-p/3487024#M847966</link>
      <description>This&lt;BR /&gt;&lt;BR /&gt;kmtune | grep max.siz*&lt;BR /&gt;&lt;BR /&gt;produces what?&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry d brown jr</description>
      <pubDate>Wed, 16 Feb 2005 06:59:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/malloc-failed-in-objstackblock/m-p/3487024#M847966</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2005-02-16T06:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: malloc failed in ObjStackBlock</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/malloc-failed-in-objstackblock/m-p/3487025#M847967</link>
      <description>Hey&lt;BR /&gt;&lt;BR /&gt;# kmtune | grep max.siz*&lt;BR /&gt;maxdsiz              0X19000000&lt;BR /&gt;maxdsiz_64bit        0x0000000040000000&lt;BR /&gt;maxssiz              0X17F00000&lt;BR /&gt;maxssiz_64bit        1073741824&lt;BR /&gt;maxtsiz              0x04000000&lt;BR /&gt;maxtsiz_64bit        0x0000000040000000&lt;BR /&gt;&lt;BR /&gt;maxssiz_64bit was allready in it's maximum value so I did nothing. I thought I just had to increase maxssiz (since the executable runs at 32-bit), do you have a diferent opinion?&lt;BR /&gt;&lt;BR /&gt;Thanks &lt;BR /&gt;SN</description>
      <pubDate>Wed, 16 Feb 2005 07:26:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/malloc-failed-in-objstackblock/m-p/3487025#M847967</guid>
      <dc:creator>Starrynight</dc:creator>
      <dc:date>2005-02-16T07:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: malloc failed in ObjStackBlock</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/malloc-failed-in-objstackblock/m-p/3487026#M847968</link>
      <description>If this puppy (the program) is a memory pig, then you need to increase maxdsiz to x40000000 or until you hit the 2gb mark of x80000000.&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry d brown jr</description>
      <pubDate>Wed, 16 Feb 2005 07:47:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/malloc-failed-in-objstackblock/m-p/3487026#M847968</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2005-02-16T07:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: malloc failed in ObjStackBlock</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/malloc-failed-in-objstackblock/m-p/3487027#M847969</link>
      <description>maxdsiz=0X19000000 is only 420 megs. I prefer writing all the kernel parameters in decimal rathern than hex (SAM and the kernel builder accept either format). Change maxdsiz to at least 960 megs (maxdsiz is in bytes, not kbytes), or if you have the ability to recompile/relink the executable, change it to an EXEC_MAGIC executable and now the 32bit program can potentially use up to 1750 megs (change maxdsiz to 1750megs).&lt;BR /&gt; &lt;BR /&gt;The maxdsiz value is also very small (nowhere near it's max value of terabytes). Change maxdsiz_64 to at least 4Gb (4 with 9 zeros in decimal). maxdsiz_64 must always be larger than maxdsiz because the lesser of the 2 values will be used for 32bit programs.&lt;BR /&gt; &lt;BR /&gt;maxssiz refers to the stack size, normally a few megs. Most often the error will be a stack overflow, not a memory allocation (malloc) error. maxssiz=17F00000 is actually 400 megs, but 32bit programs (depending on your version of HP-UX) can only address 79megs. It is very unlikely the stack is being manipulated using malloc.&lt;BR /&gt; &lt;BR /&gt;maxtsiz=0x4000000 is 67megs, more than enough for the largest program. The text area is the actual instruction set not counting any data. The physical size of the executable file on disk is roughly equal to the text area needed. Only a program with millions of lines of code would need dozens of megs for the text area.&lt;BR /&gt; &lt;BR /&gt;Finally, check your swap usage while the program runs with: swapinfo -tm&lt;BR /&gt;If the disk swap area(s) are almost full, you can temporarily add more swap space with the swapon command. Note that if you're using a lot of swap space, your applications are running much, much slower. Add more memory to speed things up.</description>
      <pubDate>Wed, 16 Feb 2005 07:57:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/malloc-failed-in-objstackblock/m-p/3487027#M847969</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-02-16T07:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: malloc failed in ObjStackBlock</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/malloc-failed-in-objstackblock/m-p/3487028#M847970</link>
      <description>Hey Harry and Bill&lt;BR /&gt;&lt;BR /&gt;I want to thank you very much for your help...it solved my problem and plus I know now much more about memory segments.&lt;BR /&gt;Thank you very much.&lt;BR /&gt;&lt;BR /&gt;SN</description>
      <pubDate>Mon, 21 Feb 2005 08:09:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/malloc-failed-in-objstackblock/m-p/3487028#M847970</guid>
      <dc:creator>Starrynight</dc:creator>
      <dc:date>2005-02-21T08:09:04Z</dc:date>
    </item>
  </channel>
</rss>

