<?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: Java outofmemory error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/java-outofmemory-error/m-p/4257466#M688100</link>
    <description>Here are the startup options &lt;BR /&gt;&lt;BR /&gt; -Xms1600m -Xmx1600m -Xmn600m \&lt;BR /&gt;  -XX:MaxPermSize=32m -XX:PermSize=32m \&lt;BR /&gt;&lt;BR /&gt;I am a little new to this app/java so pls bear with me. &lt;BR /&gt;&lt;BR /&gt;I say its a 32bit apps because kcusage reports utilization for maxsiz and maxdsiz for the app but not for the corresponding 64bit parameters. &lt;BR /&gt;&lt;BR /&gt;Also I see that the java is invoked as java_q4p in kcusage which means it is accessing the higher memory regions?</description>
    <pubDate>Mon, 25 Aug 2008 18:21:56 GMT</pubDate>
    <dc:creator>Chetan_5</dc:creator>
    <dc:date>2008-08-25T18:21:56Z</dc:date>
    <item>
      <title>Java outofmemory error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-outofmemory-error/m-p/4257462#M688094</link>
      <description>Hi all, &lt;BR /&gt;&lt;BR /&gt;  We added more CPU and memory to an existing partition which is running a java application. After this the application comes to a halt with the error &lt;BR /&gt;java.lang.OutOfMemoryError: unable to create new native thread&lt;BR /&gt;&lt;BR /&gt;We are using Java 1.4 and is a 32 bit app. I changed max_thread_proc to a higher number, increased heap sizes based on vendor recommendation but no improvement .. Has anyone seen this?&lt;BR /&gt;&lt;BR /&gt;Here are the kernel parameters : &lt;BR /&gt;maxdsiz              79532032 / 2147483648&lt;BR /&gt;maxdsiz_64bit        52555776 / 4294967296&lt;BR /&gt;maxfiles_lim               55 / 8192&lt;BR /&gt;maxssiz               1310720 / 250000000&lt;BR /&gt;maxssiz_64bit          524288 / 1073741824&lt;BR /&gt;maxtsiz               2125824 / 250000000&lt;BR /&gt;maxtsiz_64bit       117440512 / 1073741824&lt;BR /&gt;maxuprc                   127 / 9216&lt;BR /&gt;max_thread_proc            58 / 32768&lt;BR /&gt;maxvgs                      1 / 20&lt;BR /&gt;msgmni                      0 / 10240&lt;BR /&gt;msgseg                      0 / 32767&lt;BR /&gt;msgtql                      0 / 10240&lt;BR /&gt;nfile                    2397 / 155648&lt;BR /&gt;nflocks                    90 / 4096&lt;BR /&gt;ninode                   1609 / 83968&lt;BR /&gt;nkthread                  843 / 32768&lt;BR /&gt;nproc                     335 / 10240&lt;BR /&gt;npty                        0 / 256&lt;BR /&gt;nstrpty                     5 / 256&lt;BR /&gt;nstrtel                     0 / 256&lt;BR /&gt;nswapdev                    1 / 10&lt;BR /&gt;nswapfs                     0 / 10&lt;BR /&gt;semmni                     33 / 8192&lt;BR /&gt;semmns                   1303 / 16384&lt;BR /&gt;shmmax             4294967296 / 4294967296&lt;BR /&gt;shmmni                     16 / 1024&lt;BR /&gt;shmseg                      5 / 300</description>
      <pubDate>Mon, 25 Aug 2008 17:13:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-outofmemory-error/m-p/4257462#M688094</guid>
      <dc:creator>Chetan_5</dc:creator>
      <dc:date>2008-08-25T17:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: Java outofmemory error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-outofmemory-error/m-p/4257463#M688096</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;I've seen this from time to time. Fixed it by going to the latest java release from &lt;A href="http://www.hp.com/go/java" target="_blank"&gt;http://www.hp.com/go/java&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 25 Aug 2008 17:30:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-outofmemory-error/m-p/4257463#M688096</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2008-08-25T17:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: Java outofmemory error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-outofmemory-error/m-p/4257464#M688098</link>
      <description>Here is a question.&lt;BR /&gt;&lt;BR /&gt;You claim 32bit Java&lt;BR /&gt;You set maxdsiz to over 2GB&lt;BR /&gt;&lt;BR /&gt;32bit apps with possible &amp;gt; 2GB ram allocation ?&lt;BR /&gt;&lt;BR /&gt;what is your heap size set to ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 25 Aug 2008 17:52:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-outofmemory-error/m-p/4257464#M688098</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2008-08-25T17:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: Java outofmemory error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-outofmemory-error/m-p/4257465#M688099</link>
      <description>Hi :&lt;BR /&gt;&lt;BR /&gt;Out-of-Memory errors can be caused by insufficient swap space for process reservation, too.  Verify your swap utilization (when attempting to run!) with 'swapinfo -tam'.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 25 Aug 2008 18:20:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-outofmemory-error/m-p/4257465#M688099</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-08-25T18:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: Java outofmemory error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-outofmemory-error/m-p/4257466#M688100</link>
      <description>Here are the startup options &lt;BR /&gt;&lt;BR /&gt; -Xms1600m -Xmx1600m -Xmn600m \&lt;BR /&gt;  -XX:MaxPermSize=32m -XX:PermSize=32m \&lt;BR /&gt;&lt;BR /&gt;I am a little new to this app/java so pls bear with me. &lt;BR /&gt;&lt;BR /&gt;I say its a 32bit apps because kcusage reports utilization for maxsiz and maxdsiz for the app but not for the corresponding 64bit parameters. &lt;BR /&gt;&lt;BR /&gt;Also I see that the java is invoked as java_q4p in kcusage which means it is accessing the higher memory regions?</description>
      <pubDate>Mon, 25 Aug 2008 18:21:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-outofmemory-error/m-p/4257466#M688100</guid>
      <dc:creator>Chetan_5</dc:creator>
      <dc:date>2008-08-25T18:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: Java outofmemory error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-outofmemory-error/m-p/4257467#M688101</link>
      <description>Hi Chetan,&lt;BR /&gt;Unfortunately these type of messages cannot be solved on the fly, at least most of the time.  Java out of memory can be, swap, can be new generation, old generation, permanent generation could be c-heap, I have seen it also when you run out of user thteads max_thread proc. &lt;BR /&gt;I suggest you open a call with your local HP response center and take it from there. You will need to submit at least a print of memory regions of the process from glance and -Xverbosegc output to start.&lt;BR /&gt;cheers,&lt;BR /&gt;Nick</description>
      <pubDate>Thu, 04 Sep 2008 17:35:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-outofmemory-error/m-p/4257467#M688101</guid>
      <dc:creator>IT Response</dc:creator>
      <dc:date>2008-09-04T17:35:53Z</dc:date>
    </item>
  </channel>
</rss>

