Does JVM 1.3.1_06 leak

Hi
We are running a large setup for internet banking on Bea Weblogic 7.01. It seems to leak memory on high load when we are using JVM 1.3.1_06 Hotspot but we have tried 1.3.1_12 on one server and it looks like it does not have that problem.
I have been though the list of fixes from _06 to _12 and none of the leak-fixes applies to our use of the JVM.
Can anyone confirm that in fact there are fixes not listed in change document that has effect on leaks ?
Rgds
Jan Bengtsen
IT Consultant

Small ajustments:
* Bea Weblogic 7.02 on app-tier
* Bea Weblogic 7.02 Express on web-tier
* Windows 2000 Server SP4 + security patches
The leak is happening on the web-tier.

Similar Messages

  • Does JVM support Windows AWE

    Hi experts,
    Does JVM support (or take advantage of) of the Windows AWE (Address Windowing Extensions)?
    Thanks!
    Michael

    You can find very detaild information here:
    http://sinewalker.wordpress.com/2007/03/04/32-bit-windows-and-jvm-virtual-memory-limit/
    Exceprt:
    Both Sun and BAE have refused to use the AWE API for implementing their Java VMs. This is > probably because the AWE API does not allow for a contiguous address space of 3GiB, but
    rather breaks it at the 2GiB mark.But, i'm not sure this is 100% true, coz i've never tried AWE myself especially for JVM.
    And above doc is not authorized and not from Sun.
    Why don't you test yourself(if you have environment) and share the result with us?

  • JVM 1.3.1_06 Solaris 8 (sparc) multiple jvm's crash at the same time

    Hi All,
    I had multiple jvms crash all at the same time today morning, i was wondering if anyone had any similar issues with 1.3.1_06:
    Only a few jvms left an hs_errpid.log: here is the one with the most info:
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : 10 occurred at PC=0xff02f8f8
    Function name=VerifyClassCodes
    Library=/www/gmgwh/weblogic/jdk/j2sdk1_3_1_06/jre/lib/sparc/libjava.so
    Current Java thread:
    at java.lang.Shutdown.halt(Native Method)
    at java.lang.Shutdown.exit(Shutdown.java:209)
    at java.lang.Terminator$1.handle(Terminator.java:33)
    at sun.misc.Signal$1.run(Signal.java:193)
    at java.lang.Thread.run(Thread.java:479)
    Dynamic libraries:
    0x10000 /www/gmgwh/weblogic/jdk/j2sdk1_3_1_06/jre/bin/../bin/sparc/native_threads/java
    0xff350000 /usr/lib/libthread.so.1
    0xff340000 /usr/lib/libdl.so.1
    0xff200000 /usr/lib/libc.so.1
    0xff330000 /usr/platform/SUNW,Ultra-Enterprise/lib/libc_psr.so.1
    0xfe400000 /www/gmgwh/weblogic/jdk/j2sdk1_3_1_06/jre/lib/sparc/hotspot/libjvm.so
    0xff2d0000 /usr/lib/libCrun.so.1
    0xff1e0000 /usr/lib/libsocket.so.1
    0xff100000 /usr/lib/libnsl.so.1
    0xff0d0000 /usr/lib/libm.so.1
    0xff1c0000 /usr/lib/libmp.so.2
    0xff090000 /www/gmgwh/weblogic/jdk/j2sdk1_3_1_06/jre/lib/sparc/native_threads/libhpi.so
    0xff060000 /www/gmgwh/weblogic/jdk/j2sdk1_3_1_06/jre/lib/sparc/libverify.so
    0xff020000 /www/gmgwh/weblogic/jdk/j2sdk1_3_1_06/jre/lib/sparc/libjava.so
    0xfe7d0000 /www/gmgwh/weblogic/jdk/j2sdk1_3_1_06/jre/lib/sparc/libzip.so
    0xfe3e0000 /usr/lib/locale/en_US.ISO8859-1/en_US.ISO8859-1.so.2
    0xfe390000 /www/gmgwh/weblogic/jdk/j2sdk1_3_1_06/jre/lib/sparc/libnet.so
    0xfe230000 /usr/lib/nss_files.so.1
    0xfe160000 /www/gmgwh/weblogic/6.1/sp4/lib/solaris/libmuxer.so
    0xfd0e0000 /usr/ucblib/libucb.so.1
    0xfd090000 /usr/lib/libresolv.so.2
    0xfd050000 /usr/lib/libelf.so.1
    0xfafd0000 /app/oracle/product/8.1.7.4/lib/libocijdbc8.so
    0xe1800000 /app/oracle/product/8.1.7.4/lib/libclntsh.so.8.0
    0xfafb0000 /app/oracle/product/8.1.7.4/lib/libwtc8.so
    0xfaf90000 /usr/lib/libsched.so.1
    0xfaee0000 /usr/lib/libaio.so.1
    Local Time = Wed Jan 19 09:09:31 2005
    Elapsed Time = 22367
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Client VM (1.3.1_06-b01 mixed mode)
    #

    hi there
    i would direct my efforts to search for the culprit on who generated the signal (either a INT, TERM or HUP). The crash occurred is just but another side-effect. The VM received a shutdown signal and shld exit. Just that while exiting, it crashed.
    There is this bug
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4904881
    Which is pretty rare. I am not sure if you are encountering this bug but if u have a core, a pstack of the core should show > 2 threads with doing the signal shutdown.

  • Does your iphone 5 white leak light?

    Ok so I was reading some posts that says that the iPhone 5 white leaks light on the right had side by the power button so I went to a dark room to see if mine did this to and low and behold it does, I'm so very disappointed and ****** off, I'm afraid to even go get the swapped out because the swapped phone could have the same issue.

    Wow I can't believe they didn't help u, I'm going today to take Genius Bar to hopefully get it replaced, this is a defect and they have to replace it for you, have u tried calling apple care? I did and they were going to ship me a replacement by mail but as soon as they said that they have to put a hold on my credit card for the cost of the phone I was like no thanks, they wanted to put a charge of $800 and then would put the money back into my account once they received the damaged phone so I said I didn't feel comfortable and would go to the Genius Bar.  How do I show  the genius guy that it leaks light when u can only see it in the dark?  I'm debating if I should actually get mine mailed cause at least I can't test it out in a dark room.  I hope you get ur issue resolved and keep me posted on what happened:)

  • Does the iPhone 5 'light leak' affect function?

    I just recently received my white iPhone 5, and I have a small light leak near the power button along the bezel. Does this affect the function of the phone, such as the screen brightness? And Would Verizon replace it?

    There may be a possibility it could affect the function but not likely. I would call Apple and report it though as they may replace it, Verizon would send you straight to Apple. Being that this is still such a new product they like to capture new products with hardware problems.

  • How does JVM set file.encoding system property?

    The system property file.encoding is changed mysteriously, and we don't have a command line -D option. How does JRockit JVM get the default value for system properties such as file.encoding?
    I am running Jrockit 1.4.2_12.
    Thanks.

    I am running WLS 8.1SP6 on Linux using Jrockit 1.4.2-12. Over the weekend, I bounced WL server, and file.encoding was changed. It used to be ISO-8859-1. Now it is ANSI_X3.4-1968. Neither System Administrator nor WebLogic (farm) Administrator changed anything. Although I can force it with -D, I'd like to figure out what happened.
    Thanks.

  • How does JVM know the method's stack depth?

    When a caller push several operands into its operand
    stack,how does the JVM know the number of the
    callee's parameters and pop correct number of operands
    out of the stack.

    It's determined by the signature of the method given in the invokestatic, invokevirtual, invokeinterface, or invokespecial bytecode.

  • When does JVM terminates?

    Hello all,
    Under Class File, (java.io.File), There is a method "void deleteOnExit()"
    Which Requests that the file or directory denoted by given abstract pathname be deleted when the virtual machine terminates.
    My question is:
    When does virtual Machine terminates. ??
    I know i am asking very basic and silly question, But, i am confused.
    Can any one please explain me? or give me the link where i can get answer. ??
    REgards,
    Ashvini

    The simple answer is: when the application the Virtual Machine is running is finished.
    For a JSP server, that may be when the server shuts down. In other cases, certain web applications are run in their own JVM, so when that web application is turned off or restarted, then the JVM would end. But that, I guess, is server dependent (if available at all). In either case, barring a crash, it would mean when the administrator brings down the application or application server intentionally (like for routine maintenance).

  • What does it mean "Business Service leak: Web Engine State Properties"

    Hi ,
    We are on the Siebel 8.0.0.2 with extra patches to address the memory Issues. we are experiencing memory Leak, When I increase the logging level to 5 and couple of other parameter enabled, I see statements like "Business Service leak: Web Engine State Properties" ( even for Custom Business Service as well). Also when I enable Trace Statements, I don't see Release statements for the ALLOCS associated with Business Services. I am wondering to know if you have experienced something of this sort? Any thoughts will be greatly appreciated.
    Thanks,
    GS
    Edited by: user4496185 on Jan 20, 2009 12:03 PM

    Agree with everyone's suggestions here. We recently went through a process of reviewing all of our eScript and found a number of occurrences of objects created and never destroyed.
    We applied a standard approach of declaring object type variables at the beginning of each script then destroying them all with a finally() block at the end (oObject=null).
    Initialising objects if and when they are required, instead of all up front at the beginning of a script, may also serve to reduce the impact of this problem. So instead of:
    var oCustBS = TheApplication().GetService("Custom BS");
    if (bIsRecord) {
         oCustBS.InvokeMethod("CustMethod");
    oCustBS = null;
    ...use:
    var oCustBS;
    if (bIsRecord) {
         oCustBS = TheApplication().GetService("Custom BS");
         oCustBS.InvokeMethod("CustMethod");
    oCustBS=null;
    ...There is an Expert Services Review which can be conducted that will identify problems, though it's relatively straight forward to do so yourself with enough time and effort.

  • Does JVM clean up after a scheduled thread has finished its task?

    If a Timer class is scheduled to perform a certain task repeatedly, and when a scheduled task is finished, who will clean up or terminate or stop that thread? Is there anything that I can do to make sure those finished threads are cleaned up so that they will not occupy resources.

    Further for java.util.Timer, at least in Java 6:
    "After the last live reference to a Timer object goes away and all outstanding tasks have completed execution, the timer's task execution thread terminates gracefully (and becomes subject to garbage collection). However, this can take arbitrarily long to occur. By default, the task execution thread does not run as a daemon thread, so it is capable of keeping an application from terminating. If a caller wants to terminate a timer's task execution thread rapidly, the caller should invoke the timer's cancel method."
    Not sure if this self-cleanup goes back to 1.4 though.

  • Does JVM variable java.library.path make sense from native code?

    Hello all,
    Well, everybody loads native library from the Java side by calling System.loadLibrary("myNative").
    But what if, for example, myNative.dll loads another two libraries itself?
    Suppose, when I call java method "initMyNative", it in turn call native function Java_initMyNative(...). That Java_initMyNative(...) wants to load two native libraries and make: HINSTANCE lib01 = LoadLibrary("auxlib01.dll");  // LoadLibrary from capital, it's Win function!
    HINSTANCE lib02 = LoadLibrary("auxlib02.dll");  // LoadLibrary from capital, it's Win function!As specified, native LoadLibrary call will look for auxlib01.dll and auxlib02.dll in catalogs which are enumerated in system variable PATH, current catalog.
    Does java.library.path make any sense on order of such search?
    If not, is there any way of flexible configuring of the catalog in which to look auxlib01.dll and auxlib02.dll for?
    I see some ways:
    * changing system variable PATH - not flexible
    * passing content of java.library.path into native code, parsing it and looking for auxlib01.dll and auxlib02.dll in each catalog listed in java.library.path - too heavy
    I hope there is more smart way to do that.
    Thanks, Alex

    Thank you Shane for your reply. I actually didnt have to create 2 jar files, one for Java files and one for the dll file. I got an idea from your post and referenced the same jar file twice by saying:
    <j2se version="1.2+" />
    <jar href="HelloWorld.jar"/>
    <nativelib href="HelloWorld.jar"></nativelib>
    and by saying that the jnlp file started working from the browser.
    Again, thanks a lot for your replies.
    Thanks
    Nick

  • How does JVM (Java Virtual Machine) relate to XI?

    Can somebody describe to me exactly what JVM (Java Virtual Machine) is and how it is related/associated to XI?  Responses are appreciated, thanks in advance!

    HI,
    A Java Virtual Machine (JVM), is a virtual machine that interprets and executes Java bytecode. This code is most often generated by Java language compilers, although the JVM can also be targeted by compilers of other languages. JVMs may be developed by other companies as long as they adhere to the JVM standard published by Sun.
    The JVM is a crucial component of the Java Platform. Because JVMs are available for many hardware and software platforms, Java can be both middleware and a platform in its own right - hence the expression "Write once, run anywhere." The use of the same bytecode for all platforms allows Java to be described as "Compile once, run anywhere", as opposed to "Write once, compile anywhere", which describes cross-platform compiled languages.
    Starting with J2SE 5.0, changes to the JVM specification have been developed under the Java Community Process as JSR 924[1]. As of 2006, changes to specification to support changes proposed to the class file format (JSR 202[2]) are being done as a maintenance release of JSR 924. The specification for the JVM is published in book form[3], known as "blue book". The preface states:
    We intend that this specification should sufficiently document the Java Virtual Machine to make possible compatible clean-room implementations. Sun provides tests which verify the proper operation of implementations of the Java Virtual Machine.
    Sun's JVM is called HotSpot. Clean-room Java implementations include Kaffe and IBM's. Sun retains control over the Java trademark, which it uses to certify implementation suites as fully compatible with Sun's specification
    we have two caches JAVA,ABAP.
    i mean all objects which will execute in JAVA Cache those need the JVM.
    Regards
    Chilla

  • Java jvm server mode memory leak out of memory crash

    Hi,
    I am using java version "1.6.0_13" on a windows 2003 server.
    I am running apache-tomcat-6.0.18 PermSize:256M HEAP:1G
    If tomcat is started with java with client mode vm, the site works very well!
    Requests are processed without problems and memory heap will stabilize on 500M.
    I like to use the server mode. If I start the tomcat with server mode, then
    the web application work better (30% faster), but memory heap will increase
    increase more than the 500M about the 1G and then the tomcat process crash.
    Questions:
    A) Is normal that memory will increase? If client mode need 500M then 1G for
    server mode is not enought? Should I increase the heap? How much?
    B) Is a know problem? Is server option for windows not good supported?
    I have double checked the problem. If I return to the client mode then the
    tomcat will run without problem (excluding some software change problems)
    No use of native code (JNI).
    C) How to track better what happens in server mode? If there is a bug or is normal?
    Please help me. Thanks in advance.

    this problem may arise if u r using a windows 95 series of OS. after starting the dos window, go to that windows properties and increase the memory allocations to maximum, dont let it be at auto. I think this should help u

  • What does jvm.exitOnAbort do in jvm12.conf file in iws4.1sp9

     

    exitOnAbort is useful in debugging situations. Setting it to zero will cause the server to hang so that you can debug. The value is seconds. So, wait x number of seconds before aborting.
    Hope this helps.

  • Memory Leak in 8.1.6.0.1 JDBC/OCI for Solaris

    Hello,
    there is a memory leak in the 8.1.6.0.1 JDBC-OCI driver for solaris.
    The leak causes your jvm to eat up all memory
    if you reuse callable statements
    (calling one statement multiple times with
    different values).
    The thin driver has no such problem. Is
    there any fix available ?

    Ok. The code spans multiple classes and
    most of it comes from a customized version
    of the Enhydra Java Application server.
    I have a class called "StandardDBConnection"
    which caches CallableStatements and is a
    wrapperclass for java.sql.DBConnection. The
    interesting method here is "prepareCall":
    * Get a callable statement given an SQL string. If the statement is
    * cached, return that statement, otherwise prepare and save in the
    * cache.
    * @param sql The SQL statement to be called.
    * @return a new CallableStatement object containing the
    * pre-compiled SQL statement.
    * @exception java.sql.SQLException If a database access error occurs
    * statement.
    public synchronized CallableStatement prepareCall(String sql)
    throws SQLException {
    PreparedStatement preparedStmt;
    logDebug ("Prepare call: " + sql);
    validate();
    preparedStmt = (PreparedStatement)preparedStmtCache.get(sql);
    // Check if the object returned by the cache really is a
    // callable statement. if it is not, someone did call first
    // prepareStatement() and now prepareCall() with the same
    // sql. Silently replace the existing cache entry by a
    // callable statement in this case.
    if (preparedStmt instanceof CallableStatement) {
    preparedStmt.clearParameters();
    else {
    // Need to close the old PreparedStatement in case we have to
    // replace it with a CallableStatement
    if (preparedStmt != null) {
    preparedStmt.close();
    else if (preparedStmtCache.size() >= maxPreparedStmts) {
    String key = (String)preparedStmtCache.keys().nextElement();
    ((PreparedStatement) preparedStmtCache.remove(key)).close();
    preparedStmt = connection.prepareCall(sql);
    preparedStmtCache.put(sql, preparedStmt);
    return (CallableStatement)preparedStmt;
    The statements get closed when I close the
    connection:
    boolean closeStmts = true;
    // Close the prepared statements.
    Enumeration e = preparedStmtCache.keys();
    while (e.hasMoreElements() && closeStmts) {
    String key = (String)e.nextElement();
    try {
    ((PreparedStatement)
    preparedStmtCache.remove(key)).close();
    } catch (SQLException except) {
    // Ignore errors, we maybe handling one.
    closeStmts = false;
    log.write(Logger.NOTICE,
    "DBConnection[" + id + "]: " + url +
    "\nUnable to close statements. Continuing....\n");
    In my classes using database queries I just
    use the prepareCall method of DBConnection
    and do not have to care about anything.
    Works perfectly with the thin driver, but
    as soon as I switch to oci... :-|
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by JDBC Dev Team:
    Soda, Rupper,
    Do you mind posting some code that shows us what your code was doing when you notice this leak?
    Thanks.<HR></BLOCKQUOTE>
    null

Maybe you are looking for