<?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.lang.OutOfMemoryError in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror/m-p/3555749#M225744</link>
    <description>The following tool may be helpful:&lt;BR /&gt;&lt;A href="http://www.hp.com/products1/unix/java/java2/hpjconfig/" target="_blank"&gt;http://www.hp.com/products1/unix/java/java2/hpjconfig/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Also you can increase the Minimum and Maximum memory of the JVM/Java process by using following option with java-JVM:&lt;BR /&gt;&lt;BR /&gt;-ms256m -mx512m&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ganesha Sridhara&lt;BR /&gt;</description>
    <pubDate>Thu, 02 Jun 2005 00:02:29 GMT</pubDate>
    <dc:creator>Ganesha Sridhara</dc:creator>
    <dc:date>2005-06-02T00:02:29Z</dc:date>
    <item>
      <title>java.lang.OutOfMemoryError</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror/m-p/3555742#M225737</link>
      <description>I am using Websphere 5.0.2.4 on HP-UX 11.11. I see java.lang.OutOfMemoryError in our logs quite often.&lt;BR /&gt;&lt;BR /&gt;This is what I found in the pdf(UXPerfCookBook.pdf), which I downloaded from HP site regarding performance tuning:&lt;BR /&gt;&lt;BR /&gt;"Be careful about programs getting "out of memory" errors, though, because those are usually related to not having&lt;BR /&gt;enough swap space reservable or hitting a configuration limit. Relevant kernel parameters are dbc_min_pct, dbc_max_pct, bufpages, nbuf, maxswapchunks,swapmem_on, maxtsiz, maxssiz, and especially maxdsiz."&lt;BR /&gt;&lt;BR /&gt;Also, on the forums on HP site, someone has posted regarding a similar error:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?admit=716493758+1116864734702+28353475&amp;amp;threadId=211942" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?admit=716493758+1116864734702+28353475&amp;amp;threadId=211942&lt;/A&gt;&lt;BR /&gt;Again here, they have recommended tuning of kernel parameters, if required, and updating with latest HP-UX patches and HP-UX for Java patches.&lt;BR /&gt;&lt;BR /&gt;The attached file shows the current values the kernel parameters are set to.&lt;BR /&gt;&lt;BR /&gt;Wondering if my current values for the above mentioned parameters are okay or if  bumping up the value of any of the above mentioned parameters would help me? &lt;BR /&gt;If I need to increase any of the parameters, to what value should they be set?&lt;BR /&gt;&lt;BR /&gt;Someone please advise.</description>
      <pubDate>Wed, 01 Jun 2005 09:12:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror/m-p/3555742#M225737</guid>
      <dc:creator>Amoli</dc:creator>
      <dc:date>2005-06-01T09:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.OutOfMemoryError</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror/m-p/3555743#M225738</link>
      <description>How much physical memory do you have installed on your server and how much space do you allocated to swap?</description>
      <pubDate>Wed, 01 Jun 2005 09:35:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror/m-p/3555743#M225738</guid>
      <dc:creator>Deoncia Grayson_1</dc:creator>
      <dc:date>2005-06-01T09:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.OutOfMemoryError</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror/m-p/3555744#M225739</link>
      <description>Please find attached the glance o/p showing the swap details.</description>
      <pubDate>Wed, 01 Jun 2005 10:21:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror/m-p/3555744#M225739</guid>
      <dc:creator>Amoli</dc:creator>
      <dc:date>2005-06-01T10:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.OutOfMemoryError</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror/m-p/3555745#M225740</link>
      <description>Also attching the glance o/p showing memory details</description>
      <pubDate>Wed, 01 Jun 2005 10:22:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror/m-p/3555745#M225740</guid>
      <dc:creator>Amoli</dc:creator>
      <dc:date>2005-06-01T10:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.OutOfMemoryError</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror/m-p/3555746#M225741</link>
      <description>Someone please help me.</description>
      <pubDate>Wed, 01 Jun 2005 17:43:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror/m-p/3555746#M225741</guid>
      <dc:creator>Amoli</dc:creator>
      <dc:date>2005-06-01T17:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.OutOfMemoryError</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror/m-p/3555747#M225742</link>
      <description>Hi Anmoli,&lt;BR /&gt;I recently did a lot of Research and FineTuning JVm based application I will be glad if I can be of any help to you.&lt;BR /&gt;&lt;BR /&gt;Can you send me following details&lt;BR /&gt;&lt;BR /&gt;JVM Version.&lt;BR /&gt;$uname -a&lt;BR /&gt;And Patches installed on the server.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Amit.&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Jun 2005 19:56:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror/m-p/3555747#M225742</guid>
      <dc:creator>Amit Dixit_2</dc:creator>
      <dc:date>2005-06-01T19:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.OutOfMemoryError</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror/m-p/3555748#M225743</link>
      <description>Hi Anmoli,&lt;BR /&gt;Also Can you send me the details of websphere config.&lt;BR /&gt;&lt;BR /&gt;How much you have allocated to the webSphere &lt;BR /&gt;what are the values you have specified in&lt;BR /&gt;Xmn and Xmx parameter.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Amit.&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Jun 2005 20:00:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror/m-p/3555748#M225743</guid>
      <dc:creator>Amit Dixit_2</dc:creator>
      <dc:date>2005-06-01T20:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.OutOfMemoryError</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror/m-p/3555749#M225744</link>
      <description>The following tool may be helpful:&lt;BR /&gt;&lt;A href="http://www.hp.com/products1/unix/java/java2/hpjconfig/" target="_blank"&gt;http://www.hp.com/products1/unix/java/java2/hpjconfig/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Also you can increase the Minimum and Maximum memory of the JVM/Java process by using following option with java-JVM:&lt;BR /&gt;&lt;BR /&gt;-ms256m -mx512m&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ganesha Sridhara&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Jun 2005 00:02:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror/m-p/3555749#M225744</guid>
      <dc:creator>Ganesha Sridhara</dc:creator>
      <dc:date>2005-06-02T00:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.OutOfMemoryError</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror/m-p/3555750#M225745</link>
      <description>uname -a:&lt;BR /&gt;HP-UX thprod22 B.11.11 U 9000/800 1602309313 unlimited-user license&lt;BR /&gt;&lt;BR /&gt;java version "1.3.1.13"&lt;BR /&gt;Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1.13-040210-15:41)&lt;BR /&gt;Java HotSpot(TM) Server VM (build 1.3.1 1.3.1.13-_10_feb_2004_17_15 PA2.0, mixed&lt;BR /&gt; mode)&lt;BR /&gt;&lt;BR /&gt;Also, find the values of Xms and Xmx in the attached gif.&lt;BR /&gt;&lt;BR /&gt;Note: We have a vertical websphere cluster of 3 clones. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Jun 2005 12:51:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror/m-p/3555750#M225745</guid>
      <dc:creator>Amoli</dc:creator>
      <dc:date>2005-06-02T12:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.OutOfMemoryError</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror/m-p/3555751#M225746</link>
      <description>I guess we already have set the values as:&lt;BR /&gt;-Xms256m and -Xmx512m&lt;BR /&gt;&lt;BR /&gt;I do not know, how I can find the patches installed on HP-UX? I tried to use check_patches  utility but it requires root access, which I do not have. Please let me know....</description>
      <pubDate>Thu, 02 Jun 2005 12:55:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror/m-p/3555751#M225746</guid>
      <dc:creator>Amoli</dc:creator>
      <dc:date>2005-06-02T12:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.OutOfMemoryError</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror/m-p/3555752#M225747</link>
      <description>Please find in the attachment the information I got regarding the patches on running HPjconfig.</description>
      <pubDate>Thu, 02 Jun 2005 13:14:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror/m-p/3555752#M225747</guid>
      <dc:creator>Amoli</dc:creator>
      <dc:date>2005-06-02T13:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.OutOfMemoryError</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror/m-p/3555753#M225748</link>
      <description>Would just like to add that the Exception is:&lt;BR /&gt;&lt;BR /&gt;java.lang.OutOfMemoryError: unable to create native thread&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Amoli</description>
      <pubDate>Thu, 02 Jun 2005 14:10:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror/m-p/3555753#M225748</guid>
      <dc:creator>Amoli</dc:creator>
      <dc:date>2005-06-02T14:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.OutOfMemoryError</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror/m-p/3555754#M225749</link>
      <description>Hi Anmoli,&lt;BR /&gt;First I would like to ask few question&lt;BR /&gt;&lt;BR /&gt;1. Is there any specific requirement you are still running JVM 1.3.X why dont you upgrade to 1.4.x it will most of your problems.&lt;BR /&gt;&lt;BR /&gt;2. Why you have only allocated 512M to websphere, I think you have enoguh memory installed on the server why dont you change it to Xms=512M and Xmx=1024M&lt;BR /&gt;&lt;BR /&gt;But before you do that it's better you upgrade JVM version.&lt;BR /&gt;&lt;BR /&gt;Please let me know if you can opt to upgrade JVM version.&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Jun 2005 17:33:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror/m-p/3555754#M225749</guid>
      <dc:creator>Amit Dixit_2</dc:creator>
      <dc:date>2005-06-02T17:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.OutOfMemoryError</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror/m-p/3555755#M225750</link>
      <description>Hi Anmoli,&lt;BR /&gt;The error &lt;BR /&gt;java.lang.OutOfMemoryError: unable to create native thread&lt;BR /&gt;&lt;BR /&gt;Represents that the O.S. is not allowing your JVM to create more threads and it basically give wrong error message which is &lt;BR /&gt;java.lang.OutOfMemoryError&lt;BR /&gt;&lt;BR /&gt;You can change the parameter to 4096 and see but dont make such changes to production test it on you DEV or QA box and see.&lt;BR /&gt;&lt;BR /&gt;Also, be careful with kernel parameter's as they overall affect how kernel behaves with other application.&lt;BR /&gt;&lt;BR /&gt;You will also need to tune related kernel parameters.&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Jun 2005 17:39:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror/m-p/3555755#M225750</guid>
      <dc:creator>Amit Dixit_2</dc:creator>
      <dc:date>2005-06-02T17:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.OutOfMemoryError</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror/m-p/3555756#M225751</link>
      <description>Hi Anmoli,&lt;BR /&gt;The error &lt;BR /&gt;java.lang.OutOfMemoryError: unable to create native thread&lt;BR /&gt;&lt;BR /&gt;Represents that the O.S. is not allowing your JVM to create more threads and it basically give wrong error message which is &lt;BR /&gt;java.lang.OutOfMemoryError&lt;BR /&gt;&lt;BR /&gt;You can change the parameter max_thread_proc to 4096 and see but dont make such changes to production test it on you DEV or QA box and see.&lt;BR /&gt;&lt;BR /&gt;Also, be careful with kernel parameter's as they overall affect how kernel behaves with other application.&lt;BR /&gt;&lt;BR /&gt;You will also need to tune related kernel parameters.&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Jun 2005 17:39:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror/m-p/3555756#M225751</guid>
      <dc:creator>Amit Dixit_2</dc:creator>
      <dc:date>2005-06-02T17:39:36Z</dc:date>
    </item>
  </channel>
</rss>

