<?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: Application is not starting because of large java heap size on HP-UX platform in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/application-is-not-starting-because-of-large-java-heap-size-on/m-p/3882351#M99176</link>
    <description>Actually, there are 4 size 'steps' available for 32bit programs. The default limit is 960 megs. Compile/link with the -N option and you can push the limit to about 1.7Gb. Use chatr to change the executable to a q3p process and you can get about 2.8Gb, and (if supported, ie, current patches on 11.11), use chatr +q4p to get almost 3.8Gb. If you change the OS to 11.23, there is a totally different 32bit executable model called MPAS which instantly gives 32bit programs access to all 4 quadrants, about 3.8Gb.&lt;BR /&gt; &lt;BR /&gt;All this craziness is required because 32bit programs are extremely limited. It doesn't make a lot of sense to keep playing with 32bit code when compiling as a 64bit program gives you unlimited memory (dozens, hundreds of Gb). The attached program can be compiled and chatr'ed in 6 different ways (5 ways on 11.11) to demonstrate different heap (local data) limitations.</description>
    <pubDate>Fri, 27 Oct 2006 06:55:51 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2006-10-27T06:55:51Z</dc:date>
    <item>
      <title>Application is not starting because of large java heap size on HP-UX platform</title>
      <link>https://community.hpe.com/t5/operating-system-linux/application-is-not-starting-because-of-large-java-heap-size-on/m-p/3882346#M99171</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Platform used is HP-UX (B.11.11 U 9000/800)&lt;BR /&gt;JDK version used is &lt;BR /&gt;java version "1.5.0.03"&lt;BR /&gt;Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0.03-_13_feb_2006_16_39)&lt;BR /&gt;Java HotSpot(TM) Server VM (build 1.5.0.03 jinteg:02.13.06-15:51 PA2.0 (aCC_AP), mixed mode)&lt;BR /&gt;&lt;BR /&gt;I have one application which uses native code. &lt;BR /&gt;If  jvm options are set to have  heap size 2048M or greater, then application is not starting.&lt;BR /&gt;&lt;BR /&gt;The options used for setting heap size is  &lt;BR /&gt;-Xms2048M  -Xmx2048M&lt;BR /&gt;&lt;BR /&gt;The application is not starting, It is throwing below error :&lt;BR /&gt;[18/Oct/2006:05:22:43] catastrophe (26773): CORE4005: Internal error: unable to create JVM&lt;BR /&gt;[18/Oct/2006:05:22:43] failure (26773): CORE4009: Failed to load JVM (check your JRE)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;After searching in the google, I could find information at&lt;BR /&gt;&lt;A href="http://www.hp.com/products1/unix/java/infolibrary/prog_guide/expanding_memory.html" target="_blank"&gt;http://www.hp.com/products1/unix/java/infolibrary/prog_guide/expanding_memory.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;As suggested in the above website, I used&lt;BR /&gt;&lt;BR /&gt;chatr +q3p enable &lt;EXECUTABLE name=""&gt; &lt;BR /&gt;&lt;BR /&gt;then my application is starting.&lt;BR /&gt;&lt;BR /&gt;Is there any way other than the above command.&lt;BR /&gt;&lt;BR /&gt;If at all, i want to use the above command 'chatr', then what is the impact, please let me know.&lt;BR /&gt;&lt;BR /&gt;Thanks &lt;BR /&gt;&lt;BR /&gt;&lt;/EXECUTABLE&gt;</description>
      <pubDate>Wed, 18 Oct 2006 08:34:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/application-is-not-starting-because-of-large-java-heap-size-on/m-p/3882346#M99171</guid>
      <dc:creator>sarram</dc:creator>
      <dc:date>2006-10-18T08:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: Application is not starting because of large java heap size on HP-UX platform</title>
      <link>https://community.hpe.com/t5/operating-system-linux/application-is-not-starting-because-of-large-java-heap-size-on/m-p/3882347#M99172</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;The "impact" is only to the process involved.  You have a 32-bit process that needs more data space (heap) instead of shared memory.  Hence you use 'q3p' to increase the available "fence" size from 1.9 GB to 2.85 GB.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 18 Oct 2006 08:40:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/application-is-not-starting-because-of-large-java-heap-size-on/m-p/3882347#M99172</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-10-18T08:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Application is not starting because of large java heap size on HP-UX platform</title>
      <link>https://community.hpe.com/t5/operating-system-linux/application-is-not-starting-because-of-large-java-heap-size-on/m-p/3882348#M99173</link>
      <description>Friend   para habilite o largefile   fsadm -F vxfs -o largefile /mountpoint</description>
      <pubDate>Wed, 18 Oct 2006 08:42:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/application-is-not-starting-because-of-large-java-heap-size-on/m-p/3882348#M99173</guid>
      <dc:creator>Calandrello</dc:creator>
      <dc:date>2006-10-18T08:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: Application is not starting because of large java heap size on HP-UX platform</title>
      <link>https://community.hpe.com/t5/operating-system-linux/application-is-not-starting-because-of-large-java-heap-size-on/m-p/3882349#M99174</link>
      <description>For a simple program, the q3p feature is essentially transparent. The primary concern is with programs that use shared memory. This link will help explain things:&lt;BR /&gt; &lt;BR /&gt;&lt;A href="http://docs.hp.com/en/5185-6522/ch08s03.html" target="_blank"&gt;http://docs.hp.com/en/5185-6522/ch08s03.html&lt;/A&gt;&lt;BR /&gt; &lt;BR /&gt;The limitations and and concerns are due to trying to make a 32bit program access more than 1.7Gb of local memory which is why 10 years ago, HP-UX was redesigned to run in 64Bit mode and support 64bit programs which essentially have no memory limits.</description>
      <pubDate>Wed, 18 Oct 2006 09:34:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/application-is-not-starting-because-of-large-java-heap-size-on/m-p/3882349#M99174</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-10-18T09:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: Application is not starting because of large java heap size on HP-UX platform</title>
      <link>https://community.hpe.com/t5/operating-system-linux/application-is-not-starting-because-of-large-java-heap-size-on/m-p/3882350#M99175</link>
      <description>If HP-UX's EXEC_MAGIC linked with "-N" you can expand your available memory space(java heap size) from 1GB to around 1.7GB. &lt;BR /&gt;&lt;BR /&gt;In the similar way, is there any linker option &lt;BR /&gt;which expands memory beyond 1.7GB instead of using the below command.&lt;BR /&gt;chatr +q3p enable &lt;EXECUTABLE name=""&gt;&lt;BR /&gt;&lt;/EXECUTABLE&gt;</description>
      <pubDate>Fri, 27 Oct 2006 03:53:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/application-is-not-starting-because-of-large-java-heap-size-on/m-p/3882350#M99175</guid>
      <dc:creator>sarram</dc:creator>
      <dc:date>2006-10-27T03:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: Application is not starting because of large java heap size on HP-UX platform</title>
      <link>https://community.hpe.com/t5/operating-system-linux/application-is-not-starting-because-of-large-java-heap-size-on/m-p/3882351#M99176</link>
      <description>Actually, there are 4 size 'steps' available for 32bit programs. The default limit is 960 megs. Compile/link with the -N option and you can push the limit to about 1.7Gb. Use chatr to change the executable to a q3p process and you can get about 2.8Gb, and (if supported, ie, current patches on 11.11), use chatr +q4p to get almost 3.8Gb. If you change the OS to 11.23, there is a totally different 32bit executable model called MPAS which instantly gives 32bit programs access to all 4 quadrants, about 3.8Gb.&lt;BR /&gt; &lt;BR /&gt;All this craziness is required because 32bit programs are extremely limited. It doesn't make a lot of sense to keep playing with 32bit code when compiling as a 64bit program gives you unlimited memory (dozens, hundreds of Gb). The attached program can be compiled and chatr'ed in 6 different ways (5 ways on 11.11) to demonstrate different heap (local data) limitations.</description>
      <pubDate>Fri, 27 Oct 2006 06:55:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/application-is-not-starting-because-of-large-java-heap-size-on/m-p/3882351#M99176</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-10-27T06:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: Application is not starting because of large java heap size on HP-UX platform</title>
      <link>https://community.hpe.com/t5/operating-system-linux/application-is-not-starting-because-of-large-java-heap-size-on/m-p/3882352#M99177</link>
      <description>Thanks Bill</description>
      <pubDate>Fri, 27 Oct 2006 07:57:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/application-is-not-starting-because-of-large-java-heap-size-on/m-p/3882352#M99177</guid>
      <dc:creator>sarram</dc:creator>
      <dc:date>2006-10-27T07:57:14Z</dc:date>
    </item>
  </channel>
</rss>

