<?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: Memory Leaking?: Java 1.3/Oracle 9/ UX11 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leaking-java-1-3-oracle-9-ux11/m-p/3254672#M714858</link>
    <description>Hello Peter,&lt;BR /&gt;&lt;BR /&gt;Do you get ORA-04030 ?&lt;BR /&gt;&lt;BR /&gt;Nicolas</description>
    <pubDate>Wed, 21 Apr 2004 04:57:01 GMT</pubDate>
    <dc:creator>Nicolas Dumeige</dc:creator>
    <dc:date>2004-04-21T04:57:01Z</dc:date>
    <item>
      <title>Memory Leaking?: Java 1.3/Oracle 9/ UX11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leaking-java-1-3-oracle-9-ux11/m-p/3254671#M714857</link>
      <description>Hi all - we have a java (1.3) application running against Oracle 9. The application is simple enough in that it takes a flat file and does a load of inserts into the database. It was all working well on Oracle 8.1.7.2. And then we went to Oracle 9 - now the application fails with out of memory errors after it has been running a while (complains that MAXDSIZ is probably too small - it is set to 1GB so seems big enough). I suspect a memory leak; GPM shows that VSS and RSS just keep growing until the application keels over.&lt;BR /&gt;We had to set the Oracle shared library path to 'lib32' as the 'lib' (presumably 64 bit) oracle libs would not work (application just failed to start).&lt;BR /&gt;&lt;BR /&gt;So - is this a known problem and is there a solution?&lt;BR /&gt;Pete&lt;BR /&gt;&lt;BR /&gt;VERSION INFO AS FOLLOWS&lt;BR /&gt;&lt;BR /&gt;$ java -showversion&lt;BR /&gt;java version "1.3.1.08"&lt;BR /&gt;Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1.08-021213-15:02)&lt;BR /&gt;Java HotSpot(TM) Server VM (build 1.3.1 1.3.1.08-_13_dec_2002_16_12 PA2.0, mixed&lt;BR /&gt; mode)&lt;BR /&gt;&lt;BR /&gt;SQL&amp;gt; select * from v$version&lt;BR /&gt;Oracle9i Enterprise Edition Release 9.2.0.1.0 - 64bit Production&lt;BR /&gt;PL/SQL Release 9.2.0.1.0 - Production&lt;BR /&gt;CORE    9.2.0.1.0       Production&lt;BR /&gt;TNS for HPUX: Version 9.2.0.1.0 - Production&lt;BR /&gt;NLSRTL Version 9.2.0.1.0 - Production&lt;BR /&gt;&lt;BR /&gt;$ uname -a&lt;BR /&gt;HP-UX glasto B.11.11 U 9000/800 1771425047 unlimited-user license&lt;BR /&gt;&lt;END&gt;&lt;/END&gt;</description>
      <pubDate>Wed, 21 Apr 2004 04:52:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-leaking-java-1-3-oracle-9-ux11/m-p/3254671#M714857</guid>
      <dc:creator>Pete Ryecroft_1</dc:creator>
      <dc:date>2004-04-21T04:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Leaking?: Java 1.3/Oracle 9/ UX11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leaking-java-1-3-oracle-9-ux11/m-p/3254672#M714858</link>
      <description>Hello Peter,&lt;BR /&gt;&lt;BR /&gt;Do you get ORA-04030 ?&lt;BR /&gt;&lt;BR /&gt;Nicolas</description>
      <pubDate>Wed, 21 Apr 2004 04:57:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-leaking-java-1-3-oracle-9-ux11/m-p/3254672#M714858</guid>
      <dc:creator>Nicolas Dumeige</dc:creator>
      <dc:date>2004-04-21T04:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Leaking?: Java 1.3/Oracle 9/ UX11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leaking-java-1-3-oracle-9-ux11/m-p/3254673#M714859</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;More fault info please&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.hp.com/products1/unix/java/?jumpid=go/java" target="_blank"&gt;http://www.hp.com/products1/unix/java/?jumpid=go/java&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Then&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.hp.com/products1/unix/java/infolibrary/bug_info.html" target="_blank"&gt;http://www.hp.com/products1/unix/java/infolibrary/bug_info.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Consider a newer java&lt;BR /&gt;&lt;BR /&gt;              Steve Steel</description>
      <pubDate>Wed, 21 Apr 2004 06:03:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-leaking-java-1-3-oracle-9-ux11/m-p/3254673#M714859</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2004-04-21T06:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Leaking?: Java 1.3/Oracle 9/ UX11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leaking-java-1-3-oracle-9-ux11/m-p/3254674#M714860</link>
      <description>I upgraded to 1.4 and got the same error, the log file as follows...&lt;BR /&gt;&lt;BR /&gt;Exception java.lang.OutOfMemoryError: requested 32000 bytes for GrET* in /CLO/Co&lt;BR /&gt;mponents/JAVA_HOTSPOT/Src/src/share/vm/utilities/growableArray.cpp. Out of swap&lt;BR /&gt;space?&lt;BR /&gt;Possible causes:&lt;BR /&gt;    - not enough swap space left, or&lt;BR /&gt;    - kernel parameter MAXDSIZ is very small.&lt;BR /&gt; Out of memory while reading in symbol table of /opt/java1.4/jre/lib/PA_RISC2.0/&lt;BR /&gt;server/libjvm.sl&lt;BR /&gt;( 0)  0xc84774d8     [/opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl]&lt;BR /&gt;( 1)  0xc840fc34     [/opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl]&lt;BR /&gt;( 2)  0xc85c8458     [/opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl]&lt;BR /&gt;( 3)  0xc838d98c     [/opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl]&lt;BR /&gt;( 4)  0xc838caf4     [/opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl]&lt;BR /&gt;( 5)  0xc85c8d10     [/opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl]&lt;BR /&gt;( 6)  0xc872b508     [/opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl]&lt;BR /&gt;( 7)  0xc83dbe78     [/opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl]&lt;BR /&gt;( 8)  0xc83e0bdc     [/opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl]&lt;BR /&gt;( 9)  0xc83e0328     [/opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl]&lt;BR /&gt;(10)  0xc83f584c     [/opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl]&lt;BR /&gt;(11)  0xc8706eac     [/opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl]&lt;BR /&gt;(12)  0xc83ddd1c     [/opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl]&lt;BR /&gt;(13)  0xc874fca4     [/opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl]&lt;BR /&gt;(14)  0xc874f980     [/opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl]&lt;BR /&gt;(15)  0xc874e820     [/opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl]&lt;BR /&gt;(16)  0xc874ee38     [/opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl]&lt;BR /&gt;(17)  0xc874e5f4     [/opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl]&lt;BR /&gt;(18)  0xc8629e5c     [/opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl]&lt;BR /&gt;(19)  0xc1ddb2e4   __pthread_body + 0x44  [/usr/lib/libpthread.1]&lt;BR /&gt;(20)  0xc1de5574   __pthread_start + 0x14  [/usr/lib/libpthread.1]&lt;BR /&gt;Java out of memory messages are marked with pid: 25719 in /var/adm/syslog/syslog&lt;BR /&gt;.log.&lt;BR /&gt;./run_ods.sh[41]: 25719 Abort&lt;BR /&gt;&lt;BR /&gt;Can't look in syslog - no permissions - will ask sysadmin to do this for me.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Then I changed the SHLIB_PATH to look down the Oracle 'lib' directory instead of 'lib32' and I got this error (which is what I was getting with Java 1.3 as well).&lt;BR /&gt;&lt;BR /&gt;FATAL Error : FAILED: Task has thrown: java.lang.UnsatisfiedLinkError: /icedata/oracle/oui/lib/libocijdbc9.sl: specified file is not a shared library, or a format error was detected.&lt;BR /&gt;?at java.lang.ClassLoader$NativeLibrary.load(Native Method)&lt;BR /&gt;?at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1585)&lt;BR /&gt;?at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1485)&lt;BR /&gt;?at java.lang.Runtime.loadLibrary0(Runtime.java:788)&lt;BR /&gt;?at java.lang.System.loadLibrary(System.java:834)&lt;BR /&gt;?at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:262)&lt;BR /&gt;?at oracle.jdbc.driver.OracleConnection.(OracleConnection.java:346)&lt;BR /&gt;?at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:468)&lt;BR /&gt;?at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:314)&lt;BR /&gt;?at java.sql.DriverManager.getConnection(DriverManager.java:512)&lt;BR /&gt;?at java.sql.DriverManager.getConnection(DriverManager.java:171)&lt;BR /&gt;?at com.hp.sapods.db.DBAccess.connect(DBAccess.java:216)&lt;BR /&gt;?at com.hp.sapods.db.DBAccess.connectWithRetryWait(DBAccess.java:422)&lt;BR /&gt;?at com.hp.sapods.dbtasks.TableExtractTask.ODSConnectWrapper(TableExtractTask.java:206)&lt;BR /&gt;?at com.hp.sapods.dbtasks.TableExtractTask.isInitialFullLoad(TableExtractTask.java:1285)&lt;BR /&gt;?at com.hp.sapods.dbtasks.TableExtractTask.initiateExtract(TableExtractTask.java:1610)&lt;BR /&gt;?at com.hp.sapods.dbtasks.FullExtractTask.execute(FullExtractTask.java:147)&lt;BR /&gt;?at com.hp.sapods.core.Task$TaskThread.run(Task.java:924)&lt;BR /&gt;?at java.lang.Thread.run(Thread.java:534)&lt;BR /&gt;&lt;BR /&gt;Oracle alert log is error-free.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;pete&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Apr 2004 12:18:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-leaking-java-1-3-oracle-9-ux11/m-p/3254674#M714860</guid>
      <dc:creator>Pete Ryecroft_1</dc:creator>
      <dc:date>2004-04-21T12:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Leaking?: Java 1.3/Oracle 9/ UX11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leaking-java-1-3-oracle-9-ux11/m-p/3254675#M714861</link>
      <description>I experienced memory leaks in 9i Release 1. Release 2 seemed to clear things up, but since I had no java apps other than oracle's I can't really speak to your problem.&lt;BR /&gt;&lt;BR /&gt;If you are doing inserts from a flat file, you might enjoy looking into one of my favorite features of 9i and that is the external table. I replaced a lot of hard to maintain C code with some simple pl/sql scripts to move data from a flat file to my tables.</description>
      <pubDate>Thu, 22 Apr 2004 06:20:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-leaking-java-1-3-oracle-9-ux11/m-p/3254675#M714861</guid>
      <dc:creator>R. Allan Hicks</dc:creator>
      <dc:date>2004-04-22T06:20:50Z</dc:date>
    </item>
  </channel>
</rss>

