<?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: Exception in thread &amp;quot;Thread-20&amp;quot; java.lang.OutOfMemoryError: Java heap space in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/exception-in-thread-quot-thread-20-quot-java-lang/m-p/4208171#M325751</link>
    <description>&amp;gt;the appl/dba still gets the same error. I research the web and located the following info. Let me know your thoughts before I forward to users.&lt;BR /&gt;&amp;gt;When running the tool include the heap space argument '-Xmx'.&lt;BR /&gt;&lt;BR /&gt;Yes it seems you need this option to make it bigger.</description>
    <pubDate>Tue, 10 Jun 2008 05:56:59 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2008-06-10T05:56:59Z</dc:date>
    <item>
      <title>Exception in thread "Thread-20" java.lang.OutOfMemoryError: Java heap space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exception-in-thread-quot-thread-20-quot-java-lang/m-p/4208162#M325742</link>
      <description>Hello All,&lt;BR /&gt;&lt;BR /&gt;  I was working with some DBA's who were supporting the installation of PeopleSoft application which has a DB configuration, and they received the following error. Do you konw what needs to be increased to prevent this error ?&lt;BR /&gt;#######################################&lt;BR /&gt;&lt;BR /&gt;Installing Peoplesoft Database Configuration. Please wait...&lt;BR /&gt;The ORACLE_SID Environment Variable has been updated to 'pststdmo'&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;Executing createdb10.sql for Oracle&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;Executing utlspace.sql for Oracle&lt;BR /&gt;Exception in thread "Thread-20" java.lang.OutOfMemoryError: Java heap space&lt;BR /&gt;&lt;BR /&gt;#######################################&lt;BR /&gt;HP-UX hohp226 B.11.11 U 9000/800/rp7410&lt;BR /&gt;#######################################&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; Physical: 8380416 Kbytes, lockable: 6464320 Kbytes, available: 7425500 Kbytes&lt;BR /&gt;&lt;BR /&gt;root@hohp226[/root]&lt;BR /&gt;# swapinfo -tam&lt;BR /&gt;             Mb      Mb      Mb   PCT  START/      Mb&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME&lt;BR /&gt;dev        4096     624    3472   15%       0       -    1  /dev/vg00/swap&lt;BR /&gt;dev        4096     629    3467   15%       0       -    1  /dev/vg00/swap2&lt;BR /&gt;reserve       -    6737   -6737&lt;BR /&gt;memory     6325    1174    5151   19%&lt;BR /&gt;total     14517    9164    5353   63%       -       0    -&lt;BR /&gt;##################################&lt;BR /&gt;&lt;BR /&gt;root@hohp226[/root]&lt;BR /&gt;# kmtune | egrep -i "swap|mem|shmmax"&lt;BR /&gt;aio_physmem_pct            10  -  10                         &lt;BR /&gt;allocate_fs_swapmap         0  -  0                          &lt;BR /&gt;core_addshmem_read          0  Y  0                          &lt;BR /&gt;core_addshmem_write         0  Y  0                          &lt;BR /&gt;eqmemsize                  15  -  15                         &lt;BR /&gt;iomemsize                   -  -  40000                      &lt;BR /&gt;max_mem_window              0  -  0                          &lt;BR /&gt;maxswapchunks           16384  -  16384                      &lt;BR /&gt;netmemmax                   -  -  0                          &lt;BR /&gt;nswapdev                   10  -  10                         &lt;BR /&gt;nswapfs                    10  -  10                         &lt;BR /&gt;remote_nfs_swap             0  -  0                          &lt;BR /&gt;shmem                       1  -  1                          &lt;BR /&gt;shmmax             0x40000000  Y  0X40000000                 &lt;BR /&gt;swapmem_on                  1  -  1                          &lt;BR /&gt;unlockable_mem              0  -  0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# kmtune | grep -i shmmax&lt;BR /&gt;shmmax             0x40000000  Y  0X40000000&lt;BR /&gt;calculated value : 1073741824&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;root@hohp226[/root]&lt;BR /&gt;# getconf KERNEL_BITS&lt;BR /&gt;64&lt;BR /&gt;&lt;BR /&gt;# kmtune | grep maxd                          &lt;BR /&gt;maxdsiz_64bit      2147483648  -  2147483648&lt;BR /&gt;&lt;BR /&gt;######################################&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 30 May 2008 22:50:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exception-in-thread-quot-thread-20-quot-java-lang/m-p/4208162#M325742</guid>
      <dc:creator>Jerry_109</dc:creator>
      <dc:date>2008-05-30T22:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in thread "Thread-20" java.lang.OutOfMemoryError: Java heap space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exception-in-thread-quot-thread-20-quot-java-lang/m-p/4208163#M325743</link>
      <description>&amp;gt;# kmtune | grep maxd&lt;BR /&gt;maxdsiz_64bit 2147483648 - 2147483648&lt;BR /&gt;&lt;BR /&gt;Is this a 32 or 64 bit process?&lt;BR /&gt;Where is maxdsiz?&lt;BR /&gt;If 64 bit, 2 Gb may be too small.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 30 May 2008 22:56:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exception-in-thread-quot-thread-20-quot-java-lang/m-p/4208163#M325743</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-05-30T22:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in thread "Thread-20" java.lang.OutOfMemoryError: Java heap space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exception-in-thread-quot-thread-20-quot-java-lang/m-p/4208164#M325744</link>
      <description>64 bit&lt;BR /&gt;&lt;BR /&gt;root@hohp226[/root]&lt;BR /&gt;# getconf KERNEL_BITS &lt;BR /&gt;64</description>
      <pubDate>Fri, 30 May 2008 23:03:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exception-in-thread-quot-thread-20-quot-java-lang/m-p/4208164#M325744</guid>
      <dc:creator>Jerry_109</dc:creator>
      <dc:date>2008-05-30T23:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in thread "Thread-20" java.lang.OutOfMemoryError: Java heap space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exception-in-thread-quot-thread-20-quot-java-lang/m-p/4208165#M325745</link>
      <description>&amp;gt; shmmax 0x40000000 Y 0X40000000&lt;BR /&gt;&amp;gt; calculated value : 1073741824&lt;BR /&gt;&lt;BR /&gt;The shmmax seems to be too small. I have a peoplesoft server where it is 8.5GB.&lt;BR /&gt;&lt;BR /&gt;Your server has swapped out to disk too. This will affect your performance.&lt;BR /&gt;&lt;BR /&gt;8GB of physical RAM should be more than enough for a peoplesoft DEMO environment. Since you used it all up and swapped to disk, you must be running many other things in this server. This may have fragmented the memory so much that you cannot get a contiguous shared memory segment of the required size.&lt;BR /&gt;&lt;BR /&gt;Try running the dbcreate script with a clean system.</description>
      <pubDate>Fri, 30 May 2008 23:20:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exception-in-thread-quot-thread-20-quot-java-lang/m-p/4208165#M325745</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2008-05-30T23:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in thread "Thread-20" java.lang.OutOfMemoryError: Java heap space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exception-in-thread-quot-thread-20-quot-java-lang/m-p/4208166#M325746</link>
      <description>Here is a copy of your duplicate threadId=1236597 before it was deleted:&lt;BR /&gt;root@hohp226[/root]&lt;BR /&gt;# ipcs -bom&lt;BR /&gt;IPC status from /dev/kmem as of Fri May 30 16:55:15 2008&lt;BR /&gt;T ID KEY MODE OWNER GROUP NATTCH SEGSZ&lt;BR /&gt;Shared Memory:&lt;BR /&gt;m 0 0x412407a8 --rw-rw-rw- root root 0 348&lt;BR /&gt;m 1 0x4e0c0002 --rw-rw-rw- root root 1 61760&lt;BR /&gt;m 2 0x41280509 --rw-rw-rw- root root 1 8192&lt;BR /&gt;m 3 0x30243ebc --rw-rw-rw- root root 4 1048576&lt;BR /&gt;m 7684 0x06347849 --rw-rw-rw- root root 1 77384&lt;BR /&gt;m 5 0x0c6629c9 --rw-r----- root root 2 34963456&lt;BR /&gt;m 1030 0xffffffff --rw-r--rw- root root 0 22908&lt;BR /&gt;m 25095 0x5e2e45dc --rw-r----- oracle dba 10 337088512&lt;BR /&gt;m 520 0x1586ec40 --rw-r----- oracle dba 10 337088512&lt;BR /&gt;m 9 0x27ceefac --rw-r----- oracle dba 12 337088512&lt;BR /&gt;m 10 0x675cf940 --rw-r----- oracle dba 15 538415104&lt;BR /&gt;m 523 0x41281568 --rw-rw-rw- root root 1 8785&lt;BR /&gt;m 524 0x412819e5 --rw-rw-rw- root root 1 8785&lt;BR /&gt;m 525 0x412813fd --rw-rw-rw- root root 1 8785&lt;BR /&gt;m 526 0x4128151b --rw-rw-rw- root root 1 8785&lt;BR /&gt;m 527 0x41281562 --rw-rw-rw- root root 1 8785&lt;BR /&gt;m 528 0x412819a6 --rw-rw-rw- root root 1 8785&lt;BR /&gt;m 529 0x412819e4 --rw-rw-rw- root root 1 8785&lt;BR /&gt;m 530 0x41281bc5 --rw-rw-rw- root root 1 8785&lt;BR /&gt;m 531 0x41283859 --rw-rw-rw- root root 1 8785&lt;BR /&gt;m 532 0x412838a8 --rw-rw-rw- root root 1 8785&lt;BR /&gt;m 533 0xe7ea55dc --rw-r----- oracle dba 18 419438592&lt;BR /&gt;m 22 0xfb823f58 --rw-r----- oracle dba 9 286752768&lt;BR /&gt;m 24087 0xee2724c0 --rw-r----- oracle dba 9 269975552&lt;BR /&gt;m 536 0x3236f1a4 --rw-r----- oracle dba 9 219643904&lt;BR /&gt;m 1049 0xb8178114 --rw-r----- oracle dba 18 650125312&lt;BR /&gt;m 1643546 0xc2072b6c --rw-r----- oracle dba 18 650125312&lt;BR /&gt;m 27 0x309a3dd4 --rw-r----- oracle dba 18 377495552&lt;BR /&gt;m 6172 0x829746d8 --rw-r----- oracle dba 17 482353152&lt;BR /&gt;m 4637 0x9f598c04 --rw-r----- oracle dba 22 432021504&lt;BR /&gt;m 3614 0xf0eb9394 --rw-r----- oracle dba 14 461381632</description>
      <pubDate>Sat, 31 May 2008 04:52:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exception-in-thread-quot-thread-20-quot-java-lang/m-p/4208166#M325746</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-05-31T04:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in thread "Thread-20" java.lang.OutOfMemoryError: Java heap space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exception-in-thread-quot-thread-20-quot-java-lang/m-p/4208167#M325747</link>
      <description>&amp;gt; ipcs -bom&lt;BR /&gt;&lt;BR /&gt;There are 14 segments in use by oracle in this listing. Based on their sizes I am guessing most of them are SGAs. So your memory space is quite busy and fragmented. This may be an issue as well.</description>
      <pubDate>Sat, 31 May 2008 21:05:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exception-in-thread-quot-thread-20-quot-java-lang/m-p/4208167#M325747</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2008-05-31T21:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in thread "Thread-20" java.lang.OutOfMemoryError: Java heap space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exception-in-thread-quot-thread-20-quot-java-lang/m-p/4208168#M325748</link>
      <description>Another question :&lt;BR /&gt;&lt;BR /&gt;I will be changing the following kernel parms as follows. &lt;BR /&gt;&lt;BR /&gt;shmmax :        from=1073741824  to=5905580032 &lt;BR /&gt;maxdsiz :       from=1073741824  to=2147483648   &lt;BR /&gt;maxdsiz_64bit : from=2147483648  to=4294967296&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I was told I need to change maxtsiz parms also? What are your thoughts? :&lt;BR /&gt;&lt;BR /&gt;maxtsiz             0x4000000  Y  0X4000000 &lt;BR /&gt;                 &lt;BR /&gt;maxtsiz_64bit      0x40000000  Y  0X40000000&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I have not forgotten about everyones points, just waiting for closure.</description>
      <pubDate>Thu, 05 Jun 2008 14:40:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exception-in-thread-quot-thread-20-quot-java-lang/m-p/4208168#M325748</guid>
      <dc:creator>Jerry_109</dc:creator>
      <dc:date>2008-06-05T14:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in thread "Thread-20" java.lang.OutOfMemoryError: Java heap space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exception-in-thread-quot-thread-20-quot-java-lang/m-p/4208169#M325749</link>
      <description>&amp;gt;I was told I need to change maxtsiz parms also?&lt;BR /&gt;&lt;BR /&gt;Don't bother.  You don't typically have huge programs, just huge data.&lt;BR /&gt;And since you are using java, you don't have ANY program, just the jvm and any native methods.</description>
      <pubDate>Fri, 06 Jun 2008 05:49:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exception-in-thread-quot-thread-20-quot-java-lang/m-p/4208169#M325749</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-06-06T05:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in thread "Thread-20" java.lang.OutOfMemoryError: Java heap space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exception-in-thread-quot-thread-20-quot-java-lang/m-p/4208170#M325750</link>
      <description>Hello All,&lt;BR /&gt;&lt;BR /&gt;  It's me again. After the kernel changes, the appl/dba still gets the same error.  I research the web and located the following info. Let me know your thoughts before I forward to users. Thanks .&lt;BR /&gt;&lt;BR /&gt;###########################&lt;BR /&gt;java.lang.OutOfMemoryError: Java heap space .: CIS Knowledge Base&lt;BR /&gt;&lt;BR /&gt;java.lang.OutOfMemoryError: Java heap space&lt;BR /&gt;Problem:&lt;BR /&gt;&lt;BR /&gt;The error 'java.lang.OutOfMemoryError: Java heap space' is caused when the JVM (Java Virtual Machine) runs out of available memory during processing.  This can be caused by:&lt;BR /&gt;&lt;BR /&gt;a large number of files on your system &lt;BR /&gt;an extremely large benchmark document &lt;BR /&gt;an OVAL test that returns a large number of results &lt;BR /&gt;a system that doesn't meet the minimum memory requirement of the NG Scoring tool (256MB)&lt;BR /&gt;The NG tool by default sets a maximum heap size of 256MB.  The directions below describe how to increase this value on UNIX and Windows systems.&lt;BR /&gt;&lt;BR /&gt;Solution:&lt;BR /&gt;&lt;BR /&gt;For UNIX systems:&lt;BR /&gt;&lt;BR /&gt;When running the tool include the heap space argument '-Xmx'.  For example:&lt;BR /&gt;&lt;BR /&gt;./ng.sh -Xmx512m&lt;BR /&gt;&lt;BR /&gt;Where '-Xmx512m' sets the maximum heap size to 512MB of memory.  Higher values may be used where additional memory is available.&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;###########################</description>
      <pubDate>Tue, 10 Jun 2008 00:19:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exception-in-thread-quot-thread-20-quot-java-lang/m-p/4208170#M325750</guid>
      <dc:creator>Jerry_109</dc:creator>
      <dc:date>2008-06-10T00:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in thread "Thread-20" java.lang.OutOfMemoryError: Java heap space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exception-in-thread-quot-thread-20-quot-java-lang/m-p/4208171#M325751</link>
      <description>&amp;gt;the appl/dba still gets the same error. I research the web and located the following info. Let me know your thoughts before I forward to users.&lt;BR /&gt;&amp;gt;When running the tool include the heap space argument '-Xmx'.&lt;BR /&gt;&lt;BR /&gt;Yes it seems you need this option to make it bigger.</description>
      <pubDate>Tue, 10 Jun 2008 05:56:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exception-in-thread-quot-thread-20-quot-java-lang/m-p/4208171#M325751</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-06-10T05:56:59Z</dc:date>
    </item>
  </channel>
</rss>

