<?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: unable to create new native thread in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror-unable-to-create-new-native-thread/m-p/3036642#M133608</link>
    <description>Once again Thanks James,&lt;BR /&gt;&lt;BR /&gt;We finished installing patches PHKL_23193 and PHKL_24011. At present installing java related patches. Please check the attached output of the check_patches utility. It gives warning regarding swconfig. So, is this warning ok? It says,&lt;BR /&gt;WARNING: One or more superseded patch filesets are in the installed&lt;BR /&gt;         state, but they include a configure script.  Since the patch&lt;BR /&gt;         fileset is not configured, it means that the configure script&lt;BR /&gt;         was not successfully executed when the patch was installed.&lt;BR /&gt;         Since these patch filesets have already been superseded on&lt;BR /&gt;         this system, it may not be safe to have the configure script&lt;BR /&gt;         executed via the swconfig(1M) command.  Doing so could&lt;BR /&gt;         have a negative effect on the active patch.&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;&lt;BR /&gt;Vilas</description>
    <pubDate>Fri, 08 Aug 2003 20:38:13 GMT</pubDate>
    <dc:creator>Vilas</dc:creator>
    <dc:date>2003-08-08T20:38:13Z</dc:date>
    <item>
      <title>java.lang.OutOfMemoryError: unable to create new native thread</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror-unable-to-create-new-native-thread/m-p/3036616#M133582</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;When I try to start weblogic 702 on HP-UX B.11.00 U 9000/800, I get following exception:&lt;BR /&gt;Starting WebLogic Server...&lt;BR /&gt;&lt;JUL 29=""&gt; &lt;NOTICE&gt; &lt;MANAGEMENT&gt; &amp;lt;140005&amp;gt; &lt;LOADING configura=""&gt;&lt;/LOADING&gt;tion /usr4/apps/bea/user_projects/GlobalSight/./config.xml&amp;gt;&lt;BR /&gt;&lt;JUL 29=""&gt; &lt;NOTICE&gt; &lt;SECURITY&gt; &amp;lt;090082&amp;gt; &lt;SECURITY initializi=""&gt;&lt;/SECURITY&gt;ng using realm myrealm.&amp;gt;&lt;BR /&gt;&lt;JUL 29=""&gt; &lt;NOTICE&gt; &lt;WEBLOGICSERVER&gt; &amp;lt;000327&amp;gt; &lt;STARTING webl=""&gt;&lt;/STARTING&gt;ogic Admin Server "GlobalSightServer" for domain "GlobalSight"&amp;gt;&lt;BR /&gt;java.lang.OutOfMemoryError: unable to create new native thread&lt;BR /&gt;        at java.lang.Thread.start(Native Method)&lt;BR /&gt;        at weblogic.kernel.ExecuteThreadManager.startThreads(ExecuteThreadManage&lt;BR /&gt;r.java:177)&lt;BR /&gt;        at weblogic.kernel.ExecuteThreadManager.setThreadCount(ExecuteThreadMana&lt;BR /&gt;ger.java:158)&lt;BR /&gt;        at weblogic.kernel.ExecuteThreadManager.&lt;INIT&gt;(ExecuteThreadManager.java&lt;BR /&gt;:81)&lt;BR /&gt;        at weblogic.kernel.Kernel.addExecuteQueue(Kernel.java:368)&lt;BR /&gt;        at weblogic.kernel.Kernel.addExecuteQueue(Kernel.java:358)&lt;BR /&gt;        at weblogic.jms.dispatcher.DispatcherImpl.&lt;INIT&gt;(DispatcherImpl.java:63)&lt;BR /&gt;        at weblogic.jms.dispatcher.DispatcherManager.&lt;INIT&gt;(DispatcherManager.ja&lt;BR /&gt;va:57)&lt;BR /&gt;        at weblogic.jms.dispatcher.DispatcherManager.create(DispatcherManager.ja&lt;BR /&gt;va:114)&lt;BR /&gt;        at weblogic.jms.JMSService.initializeCommon(JMSService.java:377)&lt;BR /&gt;        at weblogic.jms.JMSServiceServerLifeCycleImpl.initialize(JMSServiceServe&lt;BR /&gt;rLifeCycleImpl.java:54)&lt;BR /&gt;        at weblogic.t3.srvr.ServerLifeCycleList.initialize(ServerLifeCycleList.j&lt;BR /&gt;ava:54)&lt;BR /&gt;        at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:782)&lt;BR /&gt;        at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)&lt;BR /&gt;        at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)&lt;BR /&gt;        at weblogic.Server.main(Server.java:32)&lt;BR /&gt;&lt;JUL 29=""&gt; &lt;ERROR&gt; &lt;JMS&gt; &amp;lt;040014&amp;gt; &lt;FAILED to="" start="" jmsserver=""&gt;&lt;/FAILED&gt;, JMS is shutting down...&amp;gt;&lt;BR /&gt;&lt;JUL 29=""&gt; &lt;CRITICAL&gt; &lt;WEBLOGICSERVER&gt; &amp;lt;000361&amp;gt; &lt;SERVER fail=""&gt;&lt;/SERVER&gt;ed during initialization of server subsystem ==&amp;gt; weblogic.jms.JMSServiceServerLi&lt;BR /&gt;feCycleImpl@1b7dfa&amp;gt;&lt;BR /&gt;&lt;BR /&gt;===============================================&lt;BR /&gt;At present, I have following parameter values set on the HP-UX machine:&lt;BR /&gt;Parameter            Value&lt;BR /&gt;===============================================nproc                (20+8*MAXUSERS)&lt;BR /&gt;maxusers             400&lt;BR /&gt;max_thread_proc      2000&lt;BR /&gt;nkthread             (((NPROC*7)/4)+16)&lt;BR /&gt;maxfiles_lim         2048&lt;BR /&gt;maxfiles             1024&lt;BR /&gt;nfile                (16*(NPROC+16+MAXUSERS)/10+32+2*(NPTY+NSTRPTY+NSTRTEL))&lt;BR /&gt;ncallout             (16+NPROC)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Any help is appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;&lt;BR /&gt;Vilas&lt;/WEBLOGICSERVER&gt;&lt;/CRITICAL&gt;&lt;/JUL&gt;&lt;/JMS&gt;&lt;/ERROR&gt;&lt;/JUL&gt;&lt;/INIT&gt;&lt;/INIT&gt;&lt;/INIT&gt;&lt;/WEBLOGICSERVER&gt;&lt;/NOTICE&gt;&lt;/JUL&gt;&lt;/SECURITY&gt;&lt;/NOTICE&gt;&lt;/JUL&gt;&lt;/MANAGEMENT&gt;&lt;/NOTICE&gt;&lt;/JUL&gt;</description>
      <pubDate>Tue, 29 Jul 2003 19:45:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror-unable-to-create-new-native-thread/m-p/3036616#M133582</guid>
      <dc:creator>Vilas</dc:creator>
      <dc:date>2003-07-29T19:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.OutOfMemoryError: unable to create new native thread</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror-unable-to-create-new-native-thread/m-p/3036617#M133583</link>
      <description>I would increase maxdsiz, possibly maxssiz, and perhaps (though doubtful) maxtsiz. If this is 64-bit code then increase the 64bit (e.g. maxdsiz_64bit) counterparts and build a new kernel. You could also conceivably be running low on virtual memory so that an increase in swap space might be needed.&lt;BR /&gt;</description>
      <pubDate>Tue, 29 Jul 2003 19:55:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror-unable-to-create-new-native-thread/m-p/3036617#M133583</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-07-29T19:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.OutOfMemoryError: unable to create new native thread</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror-unable-to-create-new-native-thread/m-p/3036618#M133584</link>
      <description>Thanks Stephensen,&lt;BR /&gt;&lt;BR /&gt;I have following values for the mentioned parameters:&lt;BR /&gt;# kmtune -q maxdsiz&lt;BR /&gt;Parameter            Value&lt;BR /&gt;===============================================maxdsiz              0x04000000&lt;BR /&gt;maxssiz              0x00800000&lt;BR /&gt;maxtsiz              0x04000000&lt;BR /&gt;&lt;BR /&gt;How can I increase these values?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;VIlas</description>
      <pubDate>Tue, 29 Jul 2003 20:01:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror-unable-to-create-new-native-thread/m-p/3036618#M133584</guid>
      <dc:creator>Vilas</dc:creator>
      <dc:date>2003-07-29T20:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.OutOfMemoryError: unable to create new native thread</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror-unable-to-create-new-native-thread/m-p/3036619#M133585</link>
      <description>Your current 32bit sizes for maxdsiz, maxssiz, and maxtsiz are 64MB, 8MB, and 64MB respectively. I would increase maxdsiz to 256MB, maxssiz to 32MB, and maxtsiz to 128MB --- these are just suggestions and if you have lots of memory thenm feel free to increase maxdsiz to 512MB or so but I wouldn't increase maxssiz beyond 64MB. Again, your application may be 64-bit code so you may need to increase the 64-bit values -- if your OS is a 64-bit version. The easiest way to do this is make the changes in SAM and let it build and install a new kernel. SAM will automatically reboot when ready.&lt;BR /&gt;</description>
      <pubDate>Tue, 29 Jul 2003 20:09:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror-unable-to-create-new-native-thread/m-p/3036619#M133585</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-07-29T20:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.OutOfMemoryError: unable to create new native thread</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror-unable-to-create-new-native-thread/m-p/3036620#M133586</link>
      <description>Hi Stephenson,&lt;BR /&gt;&lt;BR /&gt;I increased the values of the parameters which you have mentioned, but I'm getting the same error. I set these values using 'kmtune' command. I tried using sam, but while creating new kernal, it gives some error. Please check the attached screenshot for the error.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Vilas</description>
      <pubDate>Tue, 29 Jul 2003 21:45:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror-unable-to-create-new-native-thread/m-p/3036620#M133586</guid>
      <dc:creator>Vilas</dc:creator>
      <dc:date>2003-07-29T21:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.OutOfMemoryError: unable to create new native thread</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror-unable-to-create-new-native-thread/m-p/3036621#M133587</link>
      <description>Vilas,&lt;BR /&gt;&lt;BR /&gt;Please change the following parameters.&lt;BR /&gt;&lt;BR /&gt;dbc_max_pct 15&lt;BR /&gt;dbc_min_pct  5&lt;BR /&gt;max_thread_proc  1024&lt;BR /&gt;maxdsiz   2 GB&lt;BR /&gt;maxdsiz_64bit 3GB&lt;BR /&gt;maxfiles 4096&lt;BR /&gt;maxfiles_lim 4096&lt;BR /&gt;maxssiz   250 MB&lt;BR /&gt;maxtsiz_64bit 350MB&lt;BR /&gt;maxuprc   2048&lt;BR /&gt;msgmnb     65535&lt;BR /&gt;msgmax     32767&lt;BR /&gt;msgmni      2048&lt;BR /&gt;msgseg     32767&lt;BR /&gt;msgssz      1024&lt;BR /&gt;msgtql      2048&lt;BR /&gt;nfile      30000&lt;BR /&gt;nlocks     15000&lt;BR /&gt;ninode     15000&lt;BR /&gt;&lt;BR /&gt;The above parameters will help you to rectify the problem.&lt;BR /&gt;&lt;BR /&gt;As per you last reply that config error message due to some config file which I cant recall now. You may need to take help of local HP engg for it.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Jul 2003 08:49:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror-unable-to-create-new-native-thread/m-p/3036621#M133587</guid>
      <dc:creator>sdip</dc:creator>
      <dc:date>2003-07-30T08:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.OutOfMemoryError: unable to create new native thread</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror-unable-to-create-new-native-thread/m-p/3036622#M133588</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I set all the mentioned parameters, except 'nlocks', but no luck. There is no parameter by name 'nlocks'.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Vilas</description>
      <pubDate>Wed, 30 Jul 2003 21:37:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror-unable-to-create-new-native-thread/m-p/3036622#M133588</guid>
      <dc:creator>Vilas</dc:creator>
      <dc:date>2003-07-30T21:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.OutOfMemoryError: unable to create new native thread</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror-unable-to-create-new-native-thread/m-p/3036623#M133589</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You really need to use a tool named "tusc" for a case like this. We need to see the system calls and error codes to determine the problem. Looking at the log it appears the error happens during thread creation. Threads within a process should share the same text regions....I think the stack is mapped with each thread so it appears to be a data (or heap) sizing issue, hence maxdsiz (if it is indeed a 32 bit process, see previous responses). Also, please be wary or changing 20 - odd kernel parameters in one go even if directed by HP personel.&lt;BR /&gt;&lt;BR /&gt;Tusc for PA can be found here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,2894,00.html" target="_blank"&gt;http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,2894,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Please use the following options to begin with when starting the application (and post the output if possible) :&lt;BR /&gt;&lt;BR /&gt;tusc -p -v -f -l -u &lt;PROGRAM&gt;&lt;BR /&gt;&lt;BR /&gt;Also check out the Java page for hpux which lists the required!! patches and certain performance and analytical tools.&lt;BR /&gt;&lt;BR /&gt;Please also provide the output of:&lt;BR /&gt;&lt;BR /&gt;# /usr/sbin/swapinfo -tam&lt;BR /&gt;# ipcs -mob&lt;BR /&gt;&lt;BR /&gt;for completeness.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;James.&lt;/PROGRAM&gt;</description>
      <pubDate>Wed, 30 Jul 2003 22:24:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror-unable-to-create-new-native-thread/m-p/3036623#M133589</guid>
      <dc:creator>James Murtagh</dc:creator>
      <dc:date>2003-07-30T22:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.OutOfMemoryError: unable to create new native thread</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror-unable-to-create-new-native-thread/m-p/3036624#M133590</link>
      <description>Hi again,&lt;BR /&gt;&lt;BR /&gt;Sorry, I forgot, that parameter is nflocks and when you say "no luck" do you mean no luck after the kernel has been rebuilt or when building the new kernel? If the latter is the case do the following:&lt;BR /&gt;&lt;BR /&gt;# cd /stand/build&lt;BR /&gt;# cp ../system .&lt;BR /&gt;# mk_kernel -s system&lt;BR /&gt;&lt;BR /&gt;Please post the results.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;James.</description>
      <pubDate>Wed, 30 Jul 2003 22:28:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror-unable-to-create-new-native-thread/m-p/3036624#M133590</guid>
      <dc:creator>James Murtagh</dc:creator>
      <dc:date>2003-07-30T22:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.OutOfMemoryError: unable to create new native thread</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror-unable-to-create-new-native-thread/m-p/3036625#M133591</link>
      <description />
      <pubDate>Thu, 31 Jul 2003 15:34:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror-unable-to-create-new-native-thread/m-p/3036625#M133591</guid>
      <dc:creator>Vilas</dc:creator>
      <dc:date>2003-07-31T15:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.OutOfMemoryError: unable to create new native thread</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror-unable-to-create-new-native-thread/m-p/3036626#M133592</link>
      <description>Hi Vilas,&lt;BR /&gt;&lt;BR /&gt;OK, there is no point looking at the tusc or VM stuff as you have more serious issues. The unsatisfied symbols suggest you have re-installed PHKL_18543. This is called a LITS (line in the sand) patch and should not be re-installed normally, as it will revert your system back to that patch level. You have a few options here:&lt;BR /&gt;&lt;BR /&gt;1) Use "swlist -l product|grep PHKL" and note all kernel patches numerically after 18543. You can then download these and their dependencies from the ITRC and re-install. You can do this in one bundle to save any problems with multiple kernel rebuilds. &lt;BR /&gt;2) Use /usr/contrib/bin/check_patches to confirm the analysis and the kernel patches required. If you don't have it you can download and install patch PHCO_27779, no reboot required.&lt;BR /&gt;&lt;BR /&gt;If you are unsure please ask, or post the output from the check_patches utility. &lt;BR /&gt;&lt;BR /&gt;Also, kmtune at 11.00 is just an inetrface to editing the system file. You will not have modified your kernel in any way doing this while not running mk_kernel and kmupdate. Please use SAM if in doubt.&lt;BR /&gt;&lt;BR /&gt;Once you have installed the kernel patches you will need to test the application again.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;James.</description>
      <pubDate>Thu, 31 Jul 2003 18:11:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror-unable-to-create-new-native-thread/m-p/3036626#M133592</guid>
      <dc:creator>James Murtagh</dc:creator>
      <dc:date>2003-07-31T18:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.OutOfMemoryError: unable to create new native thread</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror-unable-to-create-new-native-thread/m-p/3036627#M133593</link>
      <description>I recently had a similar problem, which went unresolved for weeks.&lt;BR /&gt;I can't tell you how many kernel changes I made, but I couldn't get by it.&lt;BR /&gt;I finally ended up installing WL8.1, and it resolved the issue.&lt;BR /&gt;Not sure if this will work for you, but it might.&lt;BR /&gt;&lt;BR /&gt;Good luck-&lt;BR /&gt;Stace</description>
      <pubDate>Thu, 31 Jul 2003 18:54:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror-unable-to-create-new-native-thread/m-p/3036627#M133593</guid>
      <dc:creator>Bob Bean</dc:creator>
      <dc:date>2003-07-31T18:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.OutOfMemoryError: unable to create new native thread</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror-unable-to-create-new-native-thread/m-p/3036628#M133594</link>
      <description>Hi James,&lt;BR /&gt;&lt;BR /&gt;First of all thanks for your valuable help. There are around 80-85 patches after 'PHKL_18543'. So, do I need to download all these 80-85 patches or is there any easy way to get them downloaded in a bundle or to get this problem fixed? Also, the utility 'check_patches' is not there; So, I will have to download this utility and apply patch 'PHCO_27779', right?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Vilas&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Aug 2003 16:18:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror-unable-to-create-new-native-thread/m-p/3036628#M133594</guid>
      <dc:creator>Vilas</dc:creator>
      <dc:date>2003-08-04T16:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.OutOfMemoryError: unable to create new native thread</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror-unable-to-create-new-native-thread/m-p/3036629#M133595</link>
      <description>Vilas,&lt;BR /&gt;&lt;BR /&gt;Typically OutOfMemory means that the JVM has run out the heap size allocated for it.&lt;BR /&gt;&lt;BR /&gt;There are parameters like &lt;BR /&gt;-Xms&lt;SIZE&gt;        set initial Java heap size. example: -Xms32m&lt;BR /&gt;-Xmx&lt;SIZE&gt;        set maximum Java heap size. example: -Xmx64m&lt;BR /&gt;-Xmn&lt;SIZE&gt;        set new generation Java heap size. example: -Xmn64m&lt;BR /&gt;-Xss              set Java thread stack size. example: -Xss128k&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You might want to pass appropriate value by saying &lt;BR /&gt;&lt;BR /&gt;java -Xms64 -Xms128  ...  in the startup script.&lt;/SIZE&gt;&lt;/SIZE&gt;&lt;/SIZE&gt;</description>
      <pubDate>Mon, 04 Aug 2003 16:57:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror-unable-to-create-new-native-thread/m-p/3036629#M133595</guid>
      <dc:creator>Paddy_1</dc:creator>
      <dc:date>2003-08-04T16:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.OutOfMemoryError: unable to create new native thread</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror-unable-to-create-new-native-thread/m-p/3036630#M133596</link>
      <description>James,&lt;BR /&gt;&lt;BR /&gt;I forgot to attach swlist output. Pleas check the attachment for the required patches.&lt;BR /&gt;&lt;BR /&gt;Paddy, I tried setting heap sizes in the weblogic start script, but it didn't work.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Vilas</description>
      <pubDate>Mon, 04 Aug 2003 17:07:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror-unable-to-create-new-native-thread/m-p/3036630#M133596</guid>
      <dc:creator>Vilas</dc:creator>
      <dc:date>2003-08-04T17:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.OutOfMemoryError: unable to create new native thread</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror-unable-to-create-new-native-thread/m-p/3036631#M133597</link>
      <description>Hi James,&lt;BR /&gt;&lt;BR /&gt;Here is the output of the check_patches. Please check the attachment.&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;&lt;BR /&gt;Vilas</description>
      <pubDate>Mon, 04 Aug 2003 20:10:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror-unable-to-create-new-native-thread/m-p/3036631#M133597</guid>
      <dc:creator>Vilas</dc:creator>
      <dc:date>2003-08-04T20:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.OutOfMemoryError: unable to create new native thread</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror-unable-to-create-new-native-thread/m-p/3036632#M133598</link>
      <description>Hi Vilas,&lt;BR /&gt;&lt;BR /&gt;Sorry, just back online after an odd night shift. It appears you have indeed re-installed PHKL_18543 - to any other forum member not in the know do NOT do this before contacting HP or seeking guidance from the more experienced forum guys here. You will have to re-install ALL kernel patches numerically after 18543 to get your system back in a normal state I'm afraid. You can download all the patches in a single bundle from the ITRC. All you need to do is go here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www4.itrc.hp.com/service/patch/search.do?pageContextName=hpux:::" target="_blank"&gt;http://www4.itrc.hp.com/service/patch/search.do?pageContextName=hpux:::&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;For each kernel patch in turn add this to the selected patch list. Just hit back on your browser and keep adding the patches, it will store your previous selections. Note this will be a big download so make sure you are referencing your nearest site.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;James.</description>
      <pubDate>Mon, 04 Aug 2003 21:58:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror-unable-to-create-new-native-thread/m-p/3036632#M133598</guid>
      <dc:creator>James Murtagh</dc:creator>
      <dc:date>2003-08-04T21:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.OutOfMemoryError: unable to create new native thread</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror-unable-to-create-new-native-thread/m-p/3036633#M133599</link>
      <description>Hi James,&lt;BR /&gt;&lt;BR /&gt;Our System Admin started downloading the patches but he says, "When I find the patches from ITRC, and the recommended patch is different from the one I'm finding, I'm supposed to download the recommended one." And further he says, "I downloaded some of the patches (from PHKL-18798 to PHKL-20016) as 'patches1.tar'.  When I tried to install them, it stops it because of the error in the kernel.  How am I to install these patches if we keep running into this problem regarding the kernel?"&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;&lt;BR /&gt;Vilas</description>
      <pubDate>Tue, 05 Aug 2003 17:45:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror-unable-to-create-new-native-thread/m-p/3036633#M133599</guid>
      <dc:creator>Vilas</dc:creator>
      <dc:date>2003-08-05T17:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.OutOfMemoryError: unable to create new native thread</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror-unable-to-create-new-native-thread/m-p/3036634#M133600</link>
      <description>Hi Vilas,&lt;BR /&gt;&lt;BR /&gt;As you are trying to recover the system I would just download the exact patches you already have. You can make a note of any you feel need to be superseded at a later stage. It is important you download all the patches in one bundle to save any kernel rebuild issues. I would exclude PHKL_18543 from the download list as it is large and we know the problem starts here, it does not need to be re-installed. For the swinstall set the reinstall option to true. Once all have been installed your kernel should be rebuilt correctly and you can the reboot.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;James.</description>
      <pubDate>Tue, 05 Aug 2003 18:36:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror-unable-to-create-new-native-thread/m-p/3036634#M133600</guid>
      <dc:creator>James Murtagh</dc:creator>
      <dc:date>2003-08-05T18:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.OutOfMemoryError: unable to create new native thread</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror-unable-to-create-new-native-thread/m-p/3036635#M133601</link>
      <description>Hi James,&lt;BR /&gt;&lt;BR /&gt;Our System Admin finished with applying patches. Attached is the output of 'check_patches' utility. So, is it ok to proceed with this? Also, now 'mk_kernel' command doesn't give any error.&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;&lt;BR /&gt;Vilas</description>
      <pubDate>Thu, 07 Aug 2003 14:54:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-lang-outofmemoryerror-unable-to-create-new-native-thread/m-p/3036635#M133601</guid>
      <dc:creator>Vilas</dc:creator>
      <dc:date>2003-08-07T14:54:59Z</dc:date>
    </item>
  </channel>
</rss>

