Oracle 8.1.5 Memory bug!?!

Hi !
I have a serious problem concerning the use of Oracle as db for upcoming projects.
Current situation:
- Platform: Windows NT 4.0 server
- DB: Oracle 8.1.5
- JDBC: 1.1 which comes with the Oracle 8.1.5
Problem:
- I have developed an ServletBased web-app. which has the capability to upload images (blob) and text into the db and then to stream out the images and write the text from there into a Servlet generated webpage.
After running the app. for about 10 minutes the virtual memory usage suddenly starts rising about 2-10 megs./second.
I have optimized my code and closed every resultset, statement, connection, input&outputstream, etc.
I would say that the application is fairly optimized by now but this crash still happens.
Could someone please confirm that this is actually a known problem with the Oracle db?
I have seen many messages concerning the same problem but so far have seen no good explanations.
If there is no hope for a solution I have to change the db for something else, which is no way a desirable action.
B.R. Kalle

Please refer [url http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/conditions10a.htm
]'Patterns Without % Example' on Oracle9i SQL Reference.
Here is [url http://download-west.oracle.com/docs/cd/F49540_01/DOC/server.815/a67779/operator.htm#997970]Oracle8i SQL Reference.
If a pattern does not contain the "%" character, the condition can be TRUE only if both operands have the same length.
So... there are bugs on 8.1.x, 9.2.0.4...
SQL> select * from v$version where rownum <= 1;
BANNER
Personal Oracle7 Release 7.3.2.3.1 - Production Release
SQL> create table tab1 (col1 char(6));
Table created.
SQL> insert into tab1 values ('xyz');
1 row created.
SQL> select * from tab1 where col1 like 'xyz';
no rows selected
SQL> select * from v$version where rownum <= 1;
BANNER
Oracle8i Enterprise Edition Release 8.1.7.4.1 - Production
SQL> create table tab1 (col1 char(6));
Table created.
SQL> insert into tab1 values ('xyz');
1 row created.
SQL> select * from tab1 where col1 like 'xyz';
COL1
xyz
SQL> select * from v$version where rownum <= 1;
BANNER
Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
SQL> create table tab1 (col1 char(6));
Table created.
SQL> insert into tab1 values ('xyz');
1 row created.
SQL> select * from tab1 where col1 like 'xyz';
COL1
xyz
SQL> select * from v$version where rownum <= 1;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
SQL> create table tab1 (col1 char(6));
Table created.
SQL> insert into tab1 values ('xyz');
1 row created.
SQL> select * from tab1 where col1 like 'xyz';
no rows selected

Similar Messages

  • Does Oracle occi have any memory bugs when writing blobs using streams?

    The function below will produce some kind of memory corruption that will cause an exception (which cannot be identified since memory is corrupted) while doing another call:
    ora::Statement stmt(__cn);
    string sql("BEGIN Pckg.Sp_procA(:1, :2, :3, :4, :5, :6, :7, :8, "
    ":9, :10, :11, :12, ":13, :14, :15, :payload); END;");
    occi::Blob payload(__cn.getConnection());
    occi::Environment* tempEnv = occi::Environment::createEnvironment();
    occi::Timestamp reportTime(tempEnv);
    reportTime.fromText(__report.report_time), "yyyy-mm-ddH24:mi:ss.ff");
    stmt.setSQL(sql);
    stmt.setString     (1, "");
    stmt.setString     (2, "");
    stmt.setString     (3, __report.varA);
    stmt.setString     (4, __report.varB);
    stmt.setInt          (5, __report.varC);
    stmt.setString     (6, __report.varD);
    stmt.setString     (7, __report.varE);
    stmt.setString     (8, __report.varF);
    stmt.setTimestamp(9, reportTime);
    stmt.setNull     (10, occi::OCCITIMESTAMP);
    stmt.setString     (11, __report.varG);
    stmt.setString     (12, __report.varH);
    stmt.setString     (13, __report.varI);
    stmt.setString     (14, __report.varK);
    stmt.setString     (15, __report.varX);
    stmt.setBinaryStreamMode(16, __report.payload.Size(), true);
    stmt.executeUpdate();
    occi::Stream* streamedData = stmt.getStream(16);
    streamedData->writeLastBuffer(__report.payload.GetPtr(), __report.payload.Size());
    stmt.closeStream(streamedData);
    occi::Environment::terminateEnvironment(tempEnv);
    return true;
    The function below works perfectly unless the code above is executed and looks like this:
    ora::Statement stmt(__cn);
    string sql("BEGIN "
    "Pckg.Sp_procB(:1, :2, :3, :4, :5, :6, :7, :8, :9, :10, :11); END;");
    occi::Environment* tempEnv = occi::Environment::createEnvironment();
    occi::Timestamp reportTime(tempEnv);
    reportTime.fromText(__report.report_time, "yyyy-mm-dd HH24:mi:ss.ff");
    stmt.setSQL(sql);
    stmt.setString     (1, "");
    stmt.setString     (2, "");
    stmt.setString     (3, __report.varA);
    stmt.setString     (4, __report.varB);
    stmt.setInt          (5, __report.varB);
    stmt.setString     (6, __report.varD);
    stmt.setString     (7, __report.varE);
    stmt.setString     (8, __report.varF);
    stmt.setString     (9, __report.varG);
    stmt.setTimestamp(10, reportTime);
    stmt.setNull     (11, occi::OCCITIMESTAMP);
    stmt.executeUpdate();
    occi::Environment::terminateEnvironment(tempEnv);
    return true;
    I got the blob insert example from Oracle's documentation and can't see anything wrong with it. The second function also seems to be ok which got me thinking that Oracle's occi might have some kind of bug that corrupts memory. Anyone knows anything about this or has done anything similar?

    Does anyone insert blobs this way? Or just using the "insert -> select for update" way?

  • Oracle taking too much memory in Linux

    Hi.. I am using Oralce on linux 7.5
    No any active session is running on server for oracle ..
    But oracle taking too much memory in linux when I check with TOP command ..
    16:08:29 up 19 days, 20:14, 2 users, load average: 5.32, 4.63, 3.78
    227 processes: 226 sleeping, 1 running, 0 zombie, 0 stopped
    CPU states: cpu user nice system irq softirq iowait idle
    total 2.5% 0.0% 2.9% 0.4% 0.0% 91.8% 2.2%
    cpu00 3.8% 0.0% 3.8% 0.0% 0.0% 92.2% 0.0%
    cpu01 0.4% 0.0% 0.0% 0.0% 0.0% 99.5% 0.0%
    cpu02 0.8% 0.0% 4.7% 1.7% 0.0% 85.7% 6.8%
    cpu03 5.1% 0.0% 3.0% 0.0% 0.0% 89.6% 2.1%
    Mem: 8203404k av, 8186192k used, 17212k free, 0k shrd, 7292k buff
    6266516k actv, 1275016k in_d, 136704k in_c
    Swap: 6289384k av, 10528k used, 6278856k free 7602904k cached
    PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
    6224 oracle 15 0 1007M 1.0G 998M D 0.0 12.5 30:45 1 oracle
    10628 oracle 15 0 1000M 998M 998M S 0.0 12.4 0:16 0 oracle
    6230 oracle 15 0 945M 945M 943M S 0.0 11.7 82:33 1 oracle
    10188 oracle 15 0 944M 942M 931M S 0.0 11.7 3:02 1 oracle
    19128 oracle 15 0 909M 901M 899M S 0.0 11.2 2:49 2 oracle
    6864 oracle 15 0 886M 886M 877M S 0.0 11.0 6:12 3 oracle
    18586 oracle 22 0 883M 882M 880M D 1.9 11.0 1:15 0 oracle
    6870 oracle 15 0 433M 432M 431M S 0.0 5.4 0:21 2 oracle
    6421 oracle 15 0 337M 336M 335M S 0.0 4.2 1:07 2 oracle
    8478 oracle 15 0 272M 271M 269M S 0.0 3.3 0:12 1 oracle
    18250 oracle 15 0 256M 255M 252M S 0.0 3.1 0:38 0 oracle
    6876 oracle 15 0 251M 250M 249M S 0.0 3.1 1:03 0 oracle
    17926 oracle 15 0 225M 224M 223M S 0.0 2.8 0:01 1 oracle
    19320 oracle 15 0 197M 196M 195M S 0.0 2.4 0:23 1 oracle
    18116 oracle 15 0 168M 167M 165M S 0.0 2.0 0:04 2 oracle
    19596 oracle 15 0 159M 158M 155M D 2.2 1.9 0:17 0 oracle
    6228 oracle 15 0 156M 155M 142M S 0.0 1.9 12:05 1 oracle
    18902 oracle 15 0 81612 71M 48364 S 0.0 0.8 3:07 3 oracle
    19286 oracle 15 0 48420 46M 46412 S 0.0 0.5 0:03 0 oracle
    6222 oracle 15 0 41496 40M 39684 S 0.0 0.4 9:38 3 oracle
    19602 oracle 15 0 40324 38M 38164 S 0.0 0.4 0:00 2 oracle
    5962 mysql 25 0 39168 38M 88 S 0.0 0.4 0:00 1 mysqld
    5963 mysql 15 0 39168 38M 88 S 0.0 0.4 0:08 0 mysqld
    5964 mysql 20 0 39168 38M 88 S 0.0 0.4 0:00 0 mysqld
    5965 mysql 25 0 39168 38M 88 S 0.0 0.4 0:00 0 mysqld
    5966 mysql 25 0 39168 38M 88 S 0.0 0.4 0:00 0 mysqld
    5967 mysql 20 0 39168 38M 88 S 0.0 0.4 0:00 0 mysqld
    5969 mysql 15 0 39168 38M 88 S 0.0 0.4 2:16 2 mysqld
    5970 mysql 15 0 39168 38M 88 S 0.0 0.4 2:31 1 mysqld
    5971 mysql 24 0 39168 38M 88 S 0.0 0.4 0:00 0 mysqld
    5972 mysql 20 0 39168 38M 88 S 0.0 0.4 0:00 0 mysqld
    6868 oracle 15 0 27312 26M 15204 S 0.0 0.3 8:21 3 oracle
    19554 oracle 15 0 20920 19M 18192 S 0.0 0.2 0:00 3 oracle
    6874 oracle 15 0 16904 16M 15400 S 0.0 0.2 1:15 1 oracle
    19444 oracle 15 0 13636 12M 12004 S 0.0 0.1 0:00 1 oracle
    19442 oracle 15 0 12964 12M 11324 S 0.0 0.1 0:00 1 oracle
    19474 oracle 15 0 12708 12M 11076 S 0.0 0.1 0:00 2 oracle
    Why oracle taking too much memory?
    Any solution for this bec of that my updation takes too much time .
    Edited by: harshalpatil on Oct 13, 2008 4:11 PM

    Harsh,
    1) What version of Oracle you running on 7.5 release of linux?
    2)How did you come to the conclusion that because of this, your update is slow?
    Cheers
    Aman....

  • Consolidation of Oracle Database 10g Express Edition "Bugs"

    I'll take a stab at cleaning this up. This is a collection of postings, reported as bugs, but not really bugs or difficult to understand/reproduce. These were filed in the Database General forum and they should have been filed in the XE forum.
    Firstly, thank you for taking the time to report these issues and suspected issues. In the future, it would be quite helpful to everyone if you reported these in the XE forum.
    1. Oracle Database 10g Express Edition Bugs
    This is not a bug. The developer toolbar will show when you are authenticated to the development environment. You do not have to be authenticated to your application for the developer toolbar to appear.
    2. Oracle Database 10g Express Edition Bugs
    If data is present in the cache, this is up to the application developer (you) to implement the proper security which prevents this behavior.
    3. Oracle Database 10g Express Edition  Bugs
    This is a minor issue, at best. For this type of search interface, it is desirable to perform a case-insensitive query. Wouldn't it be a shame if you searched for "item" and it did not return results that contained "Item".
    4. Oracle Database 10g Express Edition Bugs
    This is not a bug. Different authentication schemes have different data restrictions. It is up to you, the application developer, to easily implement the data validations appropriate for your application.
    5. Oracle Database 10g Express Edition Bugs
    Insufficient information provided. You will have to specify what exact error message is arising and what data you changed which resulted in this error. A complete step-by-step test case is desirable, please.
    6. Oracle Database 10g Express Edition Bugs
    Duplicate of #5 above. And still insufficient information.
    7. Oracle Database 10g Express Edition Bugs
    Not a bug. This is intentional behavior. If I know I want to enter table name EMP, it would be bad from a usability standpoint to always force the user to employ their mouse.
    8. Oracle Database 10g Express Edition Bugs
    This could not be reproduced.
    9. Oracle Database 10g Express Edition Bugs
    Almost identical to #8. Please clarify what the expected behavior should be.
    Joel

    This discussion has been continued in the XE forum at:
    Consolidation of Oracle Database 10g Express Edition "Bugs"
    In the future, please attempt to post all XE-related issues in the XE forum.
    Joel

  • Keep the Oracle Spatial data in memory

    I can keep any database tables in memory (for fast access) using Oracle Coherence (the In Memory Data Grid).
    Now I want to store Oracle Spatial data in memory, is it possible?

    I think it is possible. The difference is it is not easy to recreate some Spatial-related functions and procedures in caches. But you can invoke them from the in-memory applications using Oracle Spatial Java API.

  • ORACLE ON LINUX HAS SERIOUS BUG! IS NOT FAILSAFE COMMIT!!!

    I made one experiment to make sure in failsafety on Oracle/Linux.
    I tried to turn off the computer after commit, when "Commit
    complete" message was appeared.
    See a link on my last report:
    http://f2.dejanews.com/oracletechnet/nonmembers/index.cgi?do=show
    msg&conf=Early.Linux&msg=3953&show=unread&depth=all
    This experiment finished with bad result:
    Oracle for Linux can not be used for any more or less
    responsible applications!
    I tried to use filesystem with sync option and I tried to use
    waitfor_sync parameter in "init.ora" file.
    All of above without result. Oracle does not remember the data
    last commited transactions. Oracle does not write commited data
    on disk during about 1-3 sec period after the message "Commit
    complete" appeared.
    What do the Oracle Team say about this bug?
    null

    Has anyone reported this to Oracle? I haven't heard about this
    bug, but it may be in the pipeline for the next patch.
    Mark Malakanov (guest) wrote:
    : StE,
    : you are right.
    : Oracle MUST write into current redo log file after every
    : commit.
    : A confirmation "Commited" MUST be appeared after a write
    : operation finished and sync'ed.
    : Unfortunately this rule does not supported in Oracle8.0.5.1 for
    : Linux.
    : I made strace against LGWR process. It really open log file
    : without O_SYNC key.
    : But I tried to set a Sync attribute with chattr command against
    : logfiles. Also I tried to do mount with sync option against
    : whole filesystem. This ways brings system to open files as
    : O_SYNC key used.
    : All of above doesnt help. Oracle looses last commited
    : transactions. Only very bad performance.
    : Also I make the simple test in C. Open file without O_SYNC,
    : Write 5Mb, fsync and message. The message appears only after
    : fsync operation is finished. I understood - Linux is not the
    : cause of error.
    : I did find no fsync calls in strace's log file.
    : I think it is the cause of transactions are loosed.
    : Mark
    : StE (guest) wrote:
    : : Jay Walters (guest) wrote:
    : : : It is expected behavior to not write to the datafiles until
    : a
    : : : checkpoint is performed. Did you see this problem for
    : : : logfiles? Or just on data files? I am looking into moving
    : to
    : : : ORACLE on Linux but need data integrity...
    : : : Can anybody confirm if this is really a problem as it seems
    : : : like a show stopper.
    : : Using strace I've observed the RDBMS opening the online redo
    : : logs without O_SYNC and, on a commit, checkpoint, or log
    : change,
    : : I cannot see fsync being called on the file handle.
    : : Maybe this is a bug in strace, or a blip of stupidity on my
    : : part, but someone testing has managed to lose a committed
    : : transaction after deliberately powering off their machine.
    : That
    : : shouldn't happen.
    : : -michael
    null

  • Does the "Warning! Not Enough Memory" bug still exist in Logic 8?

    Hello everyone,
    I'm wondering if the dreaded "warning, not enough memory" bug still exists in Logic 8. Here is a detailed account of the bug from Logic 7: http://discussions.apple.com/thread.jspa?messageID=767597&#767597
    If this is fixed, I'm seriously considering upgrading mid-project! The film score I'm working on has many doubling parts that I'd like to edit at the same time in the matrix editor. However, editing multiple parts in the matrix editor seems provoke the little bugger, and I've already been bitten a few times in this project already. The only solution I've found is to stay clear of editing multiple parts at once (i.e. edit each parts individually, which obviously takes more time) or save before editing and hope I dont get bit.
    I would LOVE to hear a report that this bug has been exterminated, and perhaps may upgrade mid project if thats the case.
    Thanks in advance for your reply!

    Heya,
    I'm not familiar with the bug you're talking about. But would, as a fellow film composer, strongly urge you against the mid project switch.
    I loaded in LP8 and ofcourse had a look at what it was all about, and it's really really fantastic. It also seems very stable. I fortunately have a side project that I am working on so switched to LP8 for that. Whilst I'm thankful to get my head around a very new approach for logic, I'm also thankful that I have this side project as it has illuminated a multitude of problems that exist with LP8 that would make any scoring process a bit of a headache to say the least. The main one being that if you don't have a very very powerful mac (I'm prepping a really fully loaded 8 core) you are not going to get anywhere near the performance out of Logic as you do with 7. This is a bottom up overhaul and it needs hardware to match. Heck even my 30" cinema display seems cramped and insubstantial on this new version. I would be so bold to say hold off until you have a hearty new mac and at least 8.2 is released IMHO but maybe try and get on it onto a smaller project to familiarize yourself before hand.

  • A question about Oracle installer and a possible bug in JVM

    Hello,
    I appreciate if you could kindly guide me to solve the following problem.
    I'm trying to install Oracle11g Enterprise on a Linux system (Redhat Enterprise 5.3).
    There is no X system, and therefore I chose to install by using a response file
    in silent mode. I set the parameters value as indicated in Oracle installation
    guide. Yet, when I launch the installer, it seems that there is a problem with
    java:
    [oracle@ccsaplinux0002 database]$ ./runInstaller -responseFile /usr/local/oracle/database/responseFileV01.rsp -silent
    Starting Oracle Universal Installer...
    Checking Temp space: must be greater than 80 MB.   Actual 34517 MB    Passed
    Checking swap space: must be greater than 150 MB.   Actual 8189 MB    Passed
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2009-08-10_06-53-41PM. Please wait ...[oracle@ccsaplinux0002 database]$ Oracle Universal Installer, Version 11.1.0.6.0 Production
    Copyright (C) 1999, 2007, Oracle. All rights reserved.
    # An unexpected error has been detected by HotSpot Virtual Machine:
    #  SIGSEGV (0xb) at pc=0xb7948692, pid=2854, tid=3086293200
    # Java VM: Java HotSpot(TM) Client VM (1.5.0_11-b03 mixed mode)
    # Problematic frame:
    # V  [libjvm.so+0x19c692]
    # An error report file with more information is saved as hs_err_pid2854.log
    # If you would like to submit a bug report, please visit:
    #   http://java.sun.com/webapps/bugreport/crash.jsp
    [oracle@ccsaplinux0002 database]$I looked in the oracle package that I downloaded, there was no jdk or jre direcotry.
    As a result I downloaded the JDK 1.6.0_15 available on Sun microsystem web site and then
    I set manually in oracle user ~/.bash_profile the value for $JAVA_HOME.
    Why I get this error?
    Thanks in advance,
    Dariush
    :)

    schavali wrote:
    >
    # An error report file with more information is saved as hs_err_pid2854.log
    >
    Can you post the contents of this error log ?
    HTH
    SriniHello there,
    Thanks for your attention to my problem. Here is the file:
    Kind Regards,
    Dariyoosh
    [root@ccsaplinux0002 oracle]# cat /tmp/hs_err_pid2854.log
    # An unexpected error has been detected by HotSpot Virtual Machine:
    #  SIGSEGV (0xb) at pc=0xb7948692, pid=2854, tid=3086293200
    # Java VM: Java HotSpot(TM) Client VM (1.5.0_11-b03 mixed mode)
    # Problematic frame:
    # V  [libjvm.so+0x19c692]
    ---------------  T H R E A D  ---------------
    Current thread (0x0805f5c0):  JavaThread "main" [_thread_in_vm, id=2854]
    siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x00000000
    Registers:
    EAX=0x00000000, EBX=0xb7b3716c, ECX=0x000bfd68, EDX=0x00000001
    ESP=0xbfd68950, EBP=0xbfd689b4, ESI=0x0805f748, EDI=0xb7b49fa0
    EIP=0xb7948692, CR2=0x00000000, EFLAGS=0x00010286
    Top of Stack: (sp=0xbfd68950)
    0xbfd68950:   b7b3716c bfd68974 b79485e7 bfd68990
    0xbfd68960:   00000000 bfd68980 b7b3716c 0805f748
    0xbfd68970:   08060320 08060328 08060714 0805f5c0
    0xbfd68980:   bfd68994 0805f5c0 00000000 0805f5c0
    0xbfd68990:   bfd68a1c 00000000 08060730 0805f5c0
    0xbfd689a0:   08060774 08060774 aec60018 aec60018
    0xbfd689b0:   0805f680 bfd68a0c a371553b 0805f680
    0xbfd689c0:   00000000 00000000 aec60018 aec60018
    Instructions: (pc=0xb7948692)
    0xb7948682:   bc 8b 46 08 89 45 c0 8b 46 0c 89 45 c4 8b 45 0c
    0xb7948692:   8b 00 50 e8 f6 f3 fd ff 83 ec 0c 89 c7 50 e8 f3
    Stack: [0xbfb6e000,0xbfd6e000),  sp=0xbfd68950,  free space=2026k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    V  [libjvm.so+0x19c692]
    C  [liboraInstaller.so+0x453b]  Java_oracle_sysman_oii_oiip_osd_unix_OiipuUnixOps_chgrp+0x19
    j  oracle.sysman.oii.oiip.oiipg.OiipgBootstrap.changeGroup(Ljava/lang/String;)Z+19
    j  oracle.sysman.oii.oiip.oiipg.OiipgBootstrap.writeInvLoc(Loracle/sysman/oii/oiic/OiicSessionInterfaceManager;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)V+86
    j  oracle.sysman.oii.oiip.oiipg.OiipgBootstrap.updateInventoryLoc(Loracle/sysman/oii/oiic/OiicSessionInterfaceManager;Ljava/lang/String;Ljava/lang/String;)V+42
    j  oracle.sysman.oii.oiic.OiicSessionInterfaceManager.doInvSetupOperations(Ljava/lang/String;Ljava/lang/String;)I+21
    j  oracle.sysman.oii.oiic.OiicSilentInterfaceManager.doInvSetupOperations(Ljava/lang/String;Ljava/lang/String;)I+3
    j  oracle.sysman.oii.oiic.OiicInvSetupWCCE.doOperation(Z)I+73
    j  oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(Z)I+249
    j  oracle.sysman.oii.oiic.OiicPullSession.doOperation(Z)I+11
    j  oracle.sysman.oii.oiic.OiicSessionWrapper.doOperation(Z)I+100
    j  oracle.sysman.oii.oiic.OiicInstaller.run()V+48
    j  oracle.sysman.oii.oiic.OiicInstaller.runInstaller([Ljava/lang/String;)I+107
    j  oracle.sysman.oii.oiic.OiicInstaller.main([Ljava/lang/String;)V+6
    v  ~StubRoutines::call_stub
    V  [libjvm.so+0x17ad8c]
    V  [libjvm.so+0x28efd8]
    V  [libjvm.so+0x17abbf]
    V  [libjvm.so+0x1a5472]
    V  [libjvm.so+0x196682]
    C  [java+0x1873]
    C  [libc.so.6+0x15e8c]  __libc_start_main+0xdc
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j  oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.chgrp(Ljava/lang/String;Ljava/lang/String;)I+0
    j  oracle.sysman.oii.oiip.oiipg.OiipgBootstrap.changeGroup(Ljava/lang/String;)Z+19
    j  oracle.sysman.oii.oiip.oiipg.OiipgBootstrap.writeInvLoc(Loracle/sysman/oii/oiic/OiicSessionInterfaceManager;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)V+86
    j  oracle.sysman.oii.oiip.oiipg.OiipgBootstrap.updateInventoryLoc(Loracle/sysman/oii/oiic/OiicSessionInterfaceManager;Ljava/lang/String;Ljava/lang/String;)V+42
    j  oracle.sysman.oii.oiic.OiicSessionInterfaceManager.doInvSetupOperations(Ljava/lang/String;Ljava/lang/String;)I+21
    j  oracle.sysman.oii.oiic.OiicSilentInterfaceManager.doInvSetupOperations(Ljava/lang/String;Ljava/lang/String;)I+3
    j  oracle.sysman.oii.oiic.OiicInvSetupWCCE.doOperation(Z)I+73
    j  oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(Z)I+249
    j  oracle.sysman.oii.oiic.OiicPullSession.doOperation(Z)I+11
    j  oracle.sysman.oii.oiic.OiicSessionWrapper.doOperation(Z)I+100
    j  oracle.sysman.oii.oiic.OiicInstaller.run()V+48
    j  oracle.sysman.oii.oiic.OiicInstaller.runInstaller([Ljava/lang/String;)I+107
    j  oracle.sysman.oii.oiic.OiicInstaller.main([Ljava/lang/String;)V+6
    v  ~StubRoutines::call_stub
    ---------------  P R O C E S S  ---------------
    Java Threads: ( => current thread )
      0x080cbc18 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2860]
      0x080ca708 JavaThread "CompilerThread0" daemon [_thread_blocked, id=2859]
      0x080c9790 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2858]
      0x080bfc08 JavaThread "Finalizer" daemon [_thread_blocked, id=2857]
      0x080bddc0 JavaThread "Reference Handler" daemon [_thread_blocked, id=2856]
    =>0x0805f5c0 JavaThread "main" [_thread_in_vm, id=2854]
    Other Threads:
      0x080bb0f0 VMThread [id=2855]
      0x080cd1e0 WatcherThread [id=2861]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation   total 576K, used 458K [0xa5150000, 0xa51f0000, 0xa5cd0000)
      eden space 512K,  85% used [0xa5150000, 0xa51bdb50, 0xa51d0000)
      from space 64K,  29% used [0xa51d0000, 0xa51d4cb8, 0xa51e0000)
      to   space 64K,   0% used [0xa51e0000, 0xa51e0000, 0xa51f0000)
    tenured generation   total 1408K, used 1367K [0xa5cd0000, 0xa5e30000, 0xae750000)
       the space 1408K,  97% used [0xa5cd0000, 0xa5e25eb0, 0xa5e26000, 0xa5e30000)
    compacting perm gen  total 8192K, used 5575K [0xae750000, 0xaef50000, 0xb2750000)
       the space 8192K,  68% used [0xae750000, 0xaecc1ec0, 0xaecc2000, 0xaef50000)
    No shared spaces configured.
    Dynamic libraries:
    0078f000-007a9000 r-xp 00000000 03:01 10762034   /lib/ld-2.5.so
    007a9000-007aa000 r-xp 00019000 03:01 10762034   /lib/ld-2.5.so
    007aa000-007ab000 rwxp 0001a000 03:01 10762034   /lib/ld-2.5.so
    007ad000-008eb000 r-xp 00000000 03:01 10762035   /lib/libc-2.5.so
    008eb000-008ed000 r-xp 0013e000 03:01 10762035   /lib/libc-2.5.so
    008ed000-008ee000 rwxp 00140000 03:01 10762035   /lib/libc-2.5.so
    008ee000-008f1000 rwxp 00000000 00:00 0
    008f3000-008f5000 r-xp 00000000 03:01 10762039   /lib/libdl-2.5.so
    008f5000-008f6000 r-xp 00001000 03:01 10762039   /lib/libdl-2.5.so
    008f6000-008f7000 rwxp 00002000 03:01 10762039   /lib/libdl-2.5.so
    008f9000-0091e000 r-xp 00000000 03:01 10762037   /lib/libm-2.5.so
    0091e000-0091f000 r-xp 00024000 03:01 10762037   /lib/libm-2.5.so
    0091f000-00920000 rwxp 00025000 03:01 10762037   /lib/libm-2.5.so
    00922000-00935000 r-xp 00000000 03:01 10762038   /lib/libpthread-2.5.so
    00935000-00936000 r-xp 00012000 03:01 10762038   /lib/libpthread-2.5.so
    00936000-00937000 rwxp 00013000 03:01 10762038   /lib/libpthread-2.5.so
    00937000-00939000 rwxp 00000000 00:00 0
    00aac000-00abf000 r-xp 00000000 03:01 10762054   /lib/libnsl-2.5.so
    00abf000-00ac0000 r-xp 00012000 03:01 10762054   /lib/libnsl-2.5.so
    00ac0000-00ac1000 rwxp 00013000 03:01 10762054   /lib/libnsl-2.5.so
    00ac1000-00ac3000 rwxp 00000000 00:00 0
    08048000-08057000 r-xp 00000000 03:01 1145290    /tmp/OraInstall2009-08-10_06-53-41PM/jdk/jre/bin/java
    08057000-08059000 rwxp 0000e000 03:01 1145290    /tmp/OraInstall2009-08-10_06-53-41PM/jdk/jre/bin/java
    08059000-0861c000 rwxp 00000000 00:00 0          [heap]
    a3711000-a371b000 r-xp 00000000 03:01 1145413    /tmp/OraInstall2009-08-10_06-53-41PM/oui/lib/linux/liboraInstaller.so
    a371b000-a371d000 rwxp 00009000 03:01 1145413    /tmp/OraInstall2009-08-10_06-53-41PM/oui/lib/linux/liboraInstaller.so
    a371d000-a37f4000 r-xs 00000000 03:01 1145388    /tmp/OraInstall2009-08-10_06-53-41PM/oui/jlib/srvm.jar
    a37f4000-a387e000 r-xs 00000000 03:01 1145387    /tmp/OraInstall2009-08-10_06-53-41PM/oui/jlib/xml.jar
    a387e000-a3884000 r-xs 00000000 03:01 1145386    /tmp/OraInstall2009-08-10_06-53-41PM/oui/jlib/ojmisc.jar
    a3884000-a3899000 r-xs 00000000 03:01 1145385    /tmp/OraInstall2009-08-10_06-53-41PM/oui/jlib/orai18n-mapping.jar
    a3899000-a399d000 r-xs 00000000 03:01 1145384    /tmp/OraInstall2009-08-10_06-53-41PM/oui/jlib/orai18n-collation.jar
    a399d000-a39da000 r-xs 00000000 03:01 1145366    /tmp/OraInstall2009-08-10_06-53-41PM/oui/jlib/jewt4-nls.jar
    a39da000-a3be7000 r-xs 00000000 03:01 1145365    /tmp/OraInstall2009-08-10_06-53-41PM/oui/jlib/jewt4.jar
    a3be7000-a3d05000 r-xs 00000000 03:01 1145383    /tmp/OraInstall2009-08-10_06-53-41PM/oui/jlib/classes12.jar
    a3d05000-a3d0d000 r-xs 00000000 03:01 1145381    /tmp/OraInstall2009-08-10_06-53-41PM/oui/jlib/swingaccess.jar
    a3d0d000-a3d5a000 r-xs 00000000 03:01 1145364    /tmp/OraInstall2009-08-10_06-53-41PM/oui/jlib/ewt3-nls.jar
    a3d5a000-a3d60000 r-xs 00000000 03:01 1145382    /tmp/OraInstall2009-08-10_06-53-41PM/oui/jlib/ewt3-swingaccess.jar
    a3d60000-a3f28000 r-xs 00000000 03:01 1145363    /tmp/OraInstall2009-08-10_06-53-41PM/oui/jlib/ewt3.jar
    a3f28000-a3f4f000 r-xs 00000000 03:01 1145368    /tmp/OraInstall2009-08-10_06-53-41PM/oui/jlib/help4-nls.jar
    a3f4f000-a3fc3000 r-xs 00000000 03:01 1145367    /tmp/OraInstall2009-08-10_06-53-41PM/oui/jlib/help4.jar
    a3fc3000-a4078000 r-xs 00000000 03:01 1145380    /tmp/OraInstall2009-08-10_06-53-41PM/oui/jlib/oracle_ice.jar
    a4078000-a409b000 r-xs 00000000 03:01 1145378    /tmp/OraInstall2009-08-10_06-53-41PM/oui/jlib/InstHelp_zh_TW.jar
    a409b000-a40be000 r-xs 00000000 03:01 1145377    /tmp/OraInstall2009-08-10_06-53-41PM/oui/jlib/InstHelp_zh_CN.jar
    a40be000-a40e1000 r-xs 00000000 03:01 1145376    /tmp/OraInstall2009-08-10_06-53-41PM/oui/jlib/InstHelp_pt_BR.jar
    a40e1000-a4103000 r-xs 00000000 03:01 1145375    /tmp/OraInstall2009-08-10_06-53-41PM/oui/jlib/InstHelp_ko.jar
    a4103000-a4124000 r-xs 00000000 03:01 1145374    /tmp/OraInstall2009-08-10_06-53-41PM/oui/jlib/InstHelp_ja.jar
    a4124000-a4146000 r-xs 00000000 03:01 1145373    /tmp/OraInstall2009-08-10_06-53-41PM/oui/jlib/InstHelp_it.jar
    a4146000-a416a000 r-xs 00000000 03:01 1145372    /tmp/OraInstall2009-08-10_06-53-41PM/oui/jlib/InstHelp_fr.jar
    a416a000-a418c000 r-xs 00000000 03:01 1145371    /tmp/OraInstall2009-08-10_06-53-41PM/oui/jlib/InstHelp_es.jar
    a418c000-a41b0000 r-xs 00000000 03:01 1145370    /tmp/OraInstall2009-08-10_06-53-41PM/oui/jlib/InstHelp_de.jar
    a41b0000-a41d0000 r-xs 00000000 03:01 1145369    /tmp/OraInstall2009-08-10_06-53-41PM/oui/jlib/InstHelp.jar
    a41d0000-a41f1000 r-xs 00000000 03:01 1145379    /tmp/OraInstall2009-08-10_06-53-41PM/oui/jlib/InstImages.jar
    a41f1000-a422b000 r-xs 00000000 03:01 1145432    /tmp/OraInstall2009-08-10_06-53-41PM/oui/jlib/http_client.jar
    a422b000-a4266000 r-xs 00000000 03:01 1145389    /tmp/OraInstall2009-08-10_06-53-41PM/oui/jlib/remoteinterfaces.jar
    a4266000-a4271000 r-xs 00000000 03:01 1145390    /tmp/OraInstall2009-08-10_06-53-41PM/oui/jlib/ssh.jar
    a4271000-a429c000 r-xs 00000000 03:01 1145391    /tmp/OraInstall2009-08-10_06-53-41PM/oui/jlib/jsch.jar
    a429c000-a42e5000 r-xs 00000000 03:01 1145427    /tmp/OraInstall2009-08-10_06-53-41PM/oui/jlib/OraPrereq.jar
    a42e5000-a43c6000 r-xs 00000000 03:01 1145425    /tmp/OraInstall2009-08-10_06-53-41PM/oui/jlib/emCfg.jar
    a43c6000-a43c8000 r-xs 00000000 03:01 1145429    /tmp/OraInstall2009-08-10_06-53-41PM/oui/jlib/OraInstallerNet.jar
    a43c8000-a43d6000 r-xs 00000000 03:01 1145430    /tmp/OraInstall2009-08-10_06-53-41PM/oui/jlib/share.jar
    a43d6000-a4534000 r-xs 00000000 03:01 1145426    /tmp/OraInstall2009-08-10_06-53-41PM/oui/jlib/xmlparserv2.jar
    a4534000-a454e000 r-xs 00000000 03:01 1145424    /tmp/OraInstall2009-08-10_06-53-41PM/oui/jlib/oneclick.jar
    a454e000-a4967000 r-xs 00000000 03:01 1145428    /tmp/OraInstall2009-08-10_06-53-41PM/oui/jlib/OraInstaller.jar
    a4967000-a497c000 r-xs 00000000 03:01 1177352    /tmp/OraInstall2009-08-10_06-53-41PM/ext/jlib/orai18n-mapping.jar
    a497c000-a49df000 r-xs 00000000 03:01 1177351    /tmp/OraInstall2009-08-10_06-53-41PM/ext/jlib/orai18n-utility.jar
    a49df000-a4a06000 r-xs 00000000 03:01 1145126    /tmp/OraInstall2009-08-10_06-53-41PM/jdk/jre/lib/ext/sunjce_provider.jar
    a4a06000-a4acb000 r-xs 00000000 03:01 1145125    /tmp/OraInstall2009-08-10_06-53-41PM/jdk/jre/lib/ext/localedata.jar
    a4acb000-a4af6000 r-xs 00000000 03:01 1145127    /tmp/OraInstall2009-08-10_06-53-41PM/jdk/jre/lib/ext/sunpkcs11.jar
    a4af6000-a4af7000 ---p 00000000 00:00 0
    a4af7000-a4b77000 rwxp 00000000 00:00 0
    a4b77000-a4b7a000 ---p 00000000 00:00 0
    a4b7a000-a4bf8000 rwxp 00000000 00:00 0
    a4bf8000-a4bfb000 ---p 00000000 00:00 0
    a4bfb000-a4c79000 rwxp 00000000 00:00 0
    a4c79000-a4c7c000 ---p 00000000 00:00 0
    a4c7c000-a4cfa000 rwxp 00000000 00:00 0
    a4cfa000-a4efa000 r-xp 00000000 03:01 10994471   /usr/lib/locale/locale-archive
    a4efa000-a4efd000 ---p 00000000 00:00 0
    a4efd000-a4f7b000 rwxp 00000000 00:00 0
    a4f7b000-a4f7e000 ---p 00000000 00:00 0
    a4f7e000-a4ffc000 rwxp 00000000 00:00 0
    a4ffc000-a4ffd000 ---p 00000000 00:00 0
    a4ffd000-a5082000 rwxp 00000000 00:00 0
    a5082000-a509e000 rwxp 00000000 00:00 0
    a509e000-a509f000 rwxp 00000000 00:00 0
    a509f000-a50e4000 rwxp 00000000 00:00 0
    a50e4000-a50e5000 rwxp 00000000 00:00 0
    a50e5000-a50e9000 rwxp 00000000 00:00 0
    a50e9000-a50eb000 rwxp 00000000 00:00 0
    a50eb000-a512f000 rwxp 00000000 00:00 0
    a512f000-a5133000 rwxp 00000000 00:00 0
    a5133000-a514f000 rwxp 00000000 00:00 0
    a514f000-a51f0000 rwxp 00000000 00:00 0
    a51f0000-a5cd0000 rwxp 00000000 00:00 0
    a5cd0000-a5e30000 rwxp 00000000 00:00 0
    a5e30000-ae750000 rwxp 00000000 00:00 0
    ae750000-aef50000 rwxp 00000000 00:00 0
    aef50000-b2750000 rwxp 00000000 00:00 0
    b2756000-b275a000 rwxp 00000000 00:00 0
    b275a000-b27d6000 rwxp 00000000 00:00 0
    b27d6000-b28b6000 rwxp 00000000 00:00 0
    b28b6000-b47d6000 rwxp 00000000 00:00 0
    b47d6000-b5045000 r-xs 00000000 03:01 1112048    /tmp/OraInstall2009-08-10_06-53-41PM/jdk/jre/lib/charsets.jar
    b5045000-b505a000 r-xs 00000000 03:01 1112076    /tmp/OraInstall2009-08-10_06-53-41PM/jdk/jre/lib/jce.jar
    b505a000-b50df000 r-xs 00000000 03:01 1112077    /tmp/OraInstall2009-08-10_06-53-41PM/jdk/jre/lib/jsse.jar
    b50df000-b5148000 rwxp 00000000 00:00 0
    b5148000-b7757000 r-xs 00000000 03:01 1112084    /tmp/OraInstall2009-08-10_06-53-41PM/jdk/jre/lib/rt.jar
    b7757000-b7766000 r-xp 00000000 03:01 1145170    /tmp/OraInstall2009-08-10_06-53-41PM/jdk/jre/lib/i386/libzip.so
    b7766000-b7768000 rwxp 0000e000 03:01 1145170    /tmp/OraInstall2009-08-10_06-53-41PM/jdk/jre/lib/i386/libzip.so
    b7768000-b7789000 r-xp 00000000 03:01 1145150    /tmp/OraInstall2009-08-10_06-53-41PM/jdk/jre/lib/i386/libjava.so
    b7789000-b778b000 rwxp 00020000 03:01 1145150    /tmp/OraInstall2009-08-10_06-53-41PM/jdk/jre/lib/i386/libjava.so
    b778b000-b7796000 r-xp 00000000 03:01 1145169    /tmp/OraInstall2009-08-10_06-53-41PM/jdk/jre/lib/i386/libverify.so
    b7796000-b7797000 rwxp 0000b000 03:01 1145169    /tmp/OraInstall2009-08-10_06-53-41PM/jdk/jre/lib/i386/libverify.so
    b7797000-b77a0000 r-xp 00000000 03:01 10759656   /lib/libnss_files-2.5.so
    b77a0000-b77a1000 r-xp 00008000 03:01 10759656   /lib/libnss_files-2.5.so
    b77a1000-b77a2000 rwxp 00009000 03:01 10759656   /lib/libnss_files-2.5.so
    b77a2000-b77a4000 r-xs 00000000 03:01 1145124    /tmp/OraInstall2009-08-10_06-53-41PM/jdk/jre/lib/ext/dnsns.jar
    b77a4000-b77ac000 rwxs 00000000 03:01 1014834    /tmp/hsperfdata_oracle/2854
    b77ac000-b7b1c000 r-xp 00000000 03:01 1145177    /tmp/OraInstall2009-08-10_06-53-41PM/jdk/jre/lib/i386/client/libjvm.so
    b7b1c000-b7b3a000 rwxp 00370000 03:01 1145177    /tmp/OraInstall2009-08-10_06-53-41PM/jdk/jre/lib/i386/client/libjvm.so
    b7b3a000-b7f52000 rwxp 00000000 00:00 0
    b7f53000-b7f59000 r-xp 00000000 03:01 1145187    /tmp/OraInstall2009-08-10_06-53-41PM/jdk/jre/lib/i386/native_threads/libhpi.so
    b7f59000-b7f5a000 rwxp 00006000 03:01 1145187    /tmp/OraInstall2009-08-10_06-53-41PM/jdk/jre/lib/i386/native_threads/libhpi.so
    b7f5a000-b7f5b000 rwxp 00000000 00:00 0
    b7f5b000-b7f5c000 r-xp 00000000 00:00 0
    b7f5c000-b7f5d000 rwxp 00000000 00:00 0
    b7f5d000-b7f5e000 r-xp 00000000 00:00 0          [vdso]
    bfb6e000-bfb71000 ---p 00000000 00:00 0
    bfb71000-bfd6e000 rwxp 00000000 00:00 0          [stack]
    VM Arguments:
    jvm_args: -Doracle.installer.library_loc=/tmp/OraInstall2009-08-10_06-53-41PM/oui/lib/linux -Doracle.installer.oui_loc=/tmp/OraInstall2009-08-10_06-53-41PM/oui -Doracle.installer.bootstrap=TRUE -Doracle.installer.startup_location=/usr/local/oracle/database/install -Doracle.installer.jre_loc=/tmp/OraInstall2009-08-10_06-53-41PM/jdk/jre -Doracle.installer.nlsEnabled="TRUE" -Doracle.installer.prereqConfigLoc=  -Doracle.installer.unixVersion=2.6.30.4-09-AUG-2009-V02 -Xmx150m
    java_command: oracle.sysman.oii.oiic.OiicInstaller -scratchPath /tmp/OraInstall2009-08-10_06-53-41PM -sourceLoc /usr/local/oracle/database/install/../stage/products.xml -sourceType network -timestamp 2009-08-10_06-53-41PM -responseFile /usr/local/oracle/database/responseFileV01.rsp -silent
    Launcher Type: SUN_STANDARD
    Environment Variables:
    JAVA_HOME=
    CLASSPATH=
    PATH=/usr/bin:/usr/ccs/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin:/usr/local/oracle/app/oracle/product/11.1.0/db_1/bin:/usr/local/java/jdk1.6.0_15/bin:/home/oracle/bin:/usr/local/oracle/app/oracle/product/11.1.0/db_1/bin:/usr/local/java/jdk1.6.0_15/bin:/usr/local/oracle/database/install
    LD_LIBRARY_PATH=/tmp/OraInstall2009-08-10_06-53-41PM/jdk/jre/lib/i386/client:/tmp/OraInstall2009-08-10_06-53-41PM/jdk/jre/lib/i386:/tmp/OraInstall2009-08-10_06-53-41PM/jdk/jre/../lib/i386
    SHELL=/bin/bash
    Signal Handlers:
    SIGSEGV: [libjvm.so+0x32a000], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGBUS: [libjvm.so+0x32a000], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGFPE: [libjvm.so+0x28e010], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGPIPE: [libjvm.so+0x28e010], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGILL: [libjvm.so+0x28e010], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
    SIGUSR2: [libjvm.so+0x290460], sa_mask[0]=0x00000000, sa_flags=0x10000004
    SIGHUP: [libjvm.so+0x28fe90], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGINT: [libjvm.so+0x28fe90], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGQUIT: [libjvm.so+0x28fe90], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGTERM: [libjvm.so+0x28fe90], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    ---------------  S Y S T E M  ---------------
    OS:Red Hat Enterprise Linux Server release 5.3 (Tikanga)
    uname:Linux 2.6.30.4-09-AUG-2009-V02 #1 SMP Sun Aug 9 19:19:38 CEST 2009 i686
    libc:glibc 2.5 NPTL 2.5
    rlimit: STACK 8192k, CORE 0k, NPROC 2047, NOFILE 65536, AS infinity
    load average:0.12 0.03 0.01
    CPU:total 1 (cores per cpu 1, threads per core 1) family 6 model 15 stepping 11, cmov, cx8, fxsr, mmx, sse, sse2
    Memory: 4k page, physical 1137164k(322240k free), swap 2047k(2047k free)
    vm_info: Java HotSpot(TM) Client VM (1.5.0_11-b03) for linux-x86, built on Dec 15 2006 02:25:41 by java_re with gcc 3.2.1-7a (J2SE release)
    [root@ccsaplinux0002 oracle]#

  • Oracle 9i Automatic PGA Memory Management

    Hello,
    my team and me, we are facing difficulties to change the size of the PGA used by our server processes for HASH JOIN, SORT... operators,
    here you can see the results of "select * from v$pgastat":
    [pgastat dynamic view results|http://pastebin.com/m210314dc]
    We have been increasing consecutively our pga_aggregate_target parameter from 1.7 Gb initially to 4Gb then at the end 6Gb, the value of "Global memory bound" and " aggregate pga auto target" on the link above are still equal to 0.
    I have been reading threads on the forum and documentation see below, I understand how the global memory manager (CKPT) computest the sql memory target and then the global memory bound, as far as I understand I can only "play" on the pga_aggregate_target value in order to increase the size of our PGAs (I exclude to play with hidden parameters).
    - Joze Senegacnik: Advanced Management of working areas in Oracle 9i/10g : http://tonguc.yilmaz.googlepages.com/JozeSenegacnik-PGAMemoryManagementvO.zip
    - Dageville Benoit and Zait Mohamed: SQL memory management in oracle 9i
    Here different information that could be usefull:
    OS: solaris 10 (db running in a non global zone)
    Arch: 64-bit sparcv9 kernel modules
    Physical memory: 32 Gb (being shared between all non global zones)
    Oracle version: 9.2.0.5 32bits
    Values of init parameters and hidden parameters that could be relevant:
    [init parameters|http://pastebin.com/m40340cf4]
    [hidden parameters|http://pastebin.com/m50d74c53]
    Maybe useful queries:
    over work areas views, I use the following script:
    [wa_analysis.sql|http://pastebin.com/d606ebd9b]
    and the result of it:
    [result of script wa_analysis.sql|http://pastebin.com/m5f49a2e5]

    Joze Senegacnik wrote:
    - either your sessions are using a lot of memory for storing variables like pl/sql arrays which is subtracted from automatic management: PGA_AGGREGATE_TARGET - (aggregated persistent area + a part of the run time area of all server processes)
    - you are hitting a bug
    - or maybe something elseI am really happy you come to this conclusion too, they are the same we made with my team and we have submitting to Oracle support via metalink SR 3-1216060641, we were asking if we hit the following bug (in note 1) or we leak about pl/sql or java... or else indeed,
    note 1: PGA_AGGREGATE_TARGET Assigned Memory Is Left Unconsumed When Set High [ID 844542.1]
    Joze Senegacnik wrote:
    I would like to know:
    1.) what were the values for global memory bound and autotarget immediately (or in short time) after the database restart or when you have increased them Just after the restart of the database and just after the change of P_A_T, we query v$pgastat immediately after and the value of global memory bound and auto target were equal to 0 byte,
    2.) If you are able to change value of PGA_AGGREGATE_TARGET (P_A_T) to 10GB what happens with global memory bound and auto traget. They should be positive at least for a short time. As this is a dynamic parameter you can change it for a short time, run queries and set it back.We plan to do this tonight, we have an "heavy" ITIL change management procedures that allow us to make changes approved by change manager and only during night maintenance window on production system, I come back to you tomorrow. But we have been increasing from 1,7Gb to 4Gb to 6Gb, each time I have been querying v$sgastat in the next 2 mins and global memory bound and auto target were equal to 0 byte.
    3.) Have you checked on the OS level how much memory are using server processes - do these numbers come along with what Oracle says. Not during problematic activities, meaning active work areas performing HASH-JOIN, SORT... operators,
    unfortunately it is a production system, even if he performs poorly, we are not allowed to try or retry the poor queries, but if it comes again I'll do it,
    during low activities, here the results paste with the scripts I used:
    [pga processes info in oracle|http://pastebin.com/f2e540062]
    I spooled the result rows of this previous script in /var/tmp/pga_processes.log then I loop over all processes pid and display pmap output anon info like this:
    h5. cat /var/tmp/pga_processes.log | awk -F' ' '{print $5}' | xargs -n 1 -i pmap -x {}| grep -v 'Addres' |egrep 'Kb' 2>&1 > /var/tmp/pga_processes_os.log
    then I merge line by line the two files with unix paste command, here the results:
    [os and oracle pga informations|http://pastebin.com/f4135c8a6]
    4.) How many server processes are running on you system in average/max and are you using just dedicated processes or also shared?in average 250, we are only using dedicated processes,
    5.) At time of low activity is the global memory bound still 0 or becomes > 0. I have been querying every 15 min during more than 24 hours low activities, it still stay to 0,
    5.) Are you experiencing paging/swapping on OS level?No, here orca figures for details:
    [free memory|http://img509.imageshack.us/img509/5897/ohuron1asd2gauge1024xfr.png]
    swap
    [pagein pageout|http://img121.imageshack.us/img121/6946/ohuron1asd2gaugepginper.png]
    [memory usage|http://img19.imageshack.us/img19/2213/ohuron1asd2gaugeppkerne.png]
    6.) Please post the result of: select * from X$QESMMSGA ;during low activities, [results X$QESMMSGA|http://pastebin.com/f61df7093]
    While you will be answering to my questions I'll try to figure out what we can do to properly diagnose the problem. As you are on 9i it is a little bit harder.I am really kind of your help, as we say in my country, "if you need tow arms one day to carry something, call me."
    --Jeremy Baumont                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Oracle not Available, Shared Memory realm doesn't exist

    Hi,
    I have problem during XE installation on Windows 2003 R2 SP 2 Enterprise edition. I have uninstall the oracle xe and the result still the same. Finally I uninstall the windows and start all over again, surprisingly the result still the same. FYI, we normally has no issue during installation because this is part of our system we sell to our customer which require oracle xe. This is the first time we have seen this issue.
    ORA-01034 : Oracle Not available
    ORA-27101 : Shared memory realm doesn't exist.
    Oracle XE and listener services is started in the windows services.
    if we try to do startup the following message occured.
    SQL> connect /as sysdba
    Connected to an idle instance.
    SQL> startup
    ORA-44412: XE edition memory parameter invalid or not specified
    SQL>
    I can send you the oracle_xe log, init ora, and OpsBuildAll.log to create the database.
    When we compare with the working installation, we saw that the size of oraclexe folder is less, it's just 233MB while the working one is over 1GB. After investigation, found out that the .dbf files is not avaiable in the oradata folder, i have tried to copy those files from the working one but the problem stay the same, probably there are a lot of files more missing.
    Appreciate your help on this.
    Thanks,
    Agus

    Hi,
    Please find the log below
    SQL> startup nomount pfile="C:\oraclexe\app\oracle\product\10.2.0\server\config\scripts\init.ora";
    ORA-44412: XE edition memory parameter invalid or not specified
    SQL> @C:\oraclexe\app\oracle\product\10.2.0\server\config\scripts\rmanRestoreDatafiles.sql;
    SQL> set echo off;
    select TO_CHAR(systimestamp,'YYYYMMDD HH:MI:SS') from dual
    ERROR at line 1:
    ORA-01034: ORACLE not available
    declare
    ERROR at line 1:
    ORA-01034: ORACLE not available
    select TO_CHAR(systimestamp,'YYYYMMDD HH:MI:SS') from dual
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Connected to an idle instance.
    SQL> spool C:\oraclexe\app\oracle\product\10.2.0\server\config\log\cloneDBCreation.log
    I have css log as well if you are interesting to see.
    Dump file c:\oraclexe\app\oracle\admin\xe\bdump\alert_xe.log
    Tue Mar 20 14:13:29 2012
    ORACLE V10.2.0.1.0 - Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Windows NT Version V5.2 Service Pack 2
    CPU : 24 - type 586, 2 Physical Cores
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:5308M/6133M, Ph+PgF:7152M/8000M, VA:1933M/2047M
    Tue Mar 20 14:13:29 2012
    Starting ORACLE instance (normal)
    Tue Mar 20 14:13:30 2012
    Starting ORACLE instance (normal)
    Tue Mar 20 14:13:31 2012
    Starting ORACLE instance (normal)
    Dump file c:\oraclexe\app\oracle\admin\xe\bdump\alert_xe.log
    Tue Mar 20 19:43:31 2012
    ORACLE V10.2.0.1.0 - Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Windows NT Version V5.2 Service Pack 2
    CPU : 24 - type 586, 2 Physical Cores
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:5351M/6133M, Ph+PgF:7150M/8000M, VA:1932M/2047M
    Tue Mar 20 19:43:31 2012
    Starting ORACLE instance (normal)
    Dump file c:\oraclexe\app\oracle\admin\xe\bdump\alert_xe.log
    Tue Mar 20 19:55:39 2012
    ORACLE V10.2.0.1.0 - Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Windows NT Version V5.2 Service Pack 2
    CPU : 24 - type 586, 2 Physical Cores
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:5254M/6133M, Ph+PgF:7052M/8000M, VA:1932M/2047M
    Tue Mar 20 19:55:39 2012
    Starting ORACLE instance (normal)
    Dump file c:\oraclexe\app\oracle\admin\xe\bdump\alert_xe.log
    Wed Mar 21 05:23:41 2012
    ORACLE V10.2.0.1.0 - Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Windows NT Version V5.2 Service Pack 2
    CPU : 24 - type 586, 2 Physical Cores
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:5259M/6133M, Ph+PgF:6894M/8000M, VA:1932M/2047M
    Wed Mar 21 05:23:41 2012
    Starting ORACLE instance (normal)
    Wed Mar 21 05:29:12 2012
    Starting ORACLE instance (normal)
    Wed Mar 21 05:31:42 2012
    Starting ORACLE instance (normal)
    Dump file c:\oraclexe\app\oracle\admin\xe\bdump\alert_xe.log
    Wed Mar 21 05:50:45 2012
    ORACLE V10.2.0.1.0 - Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Windows NT Version V5.2 Service Pack 2
    CPU : 24 - type 586, 2 Physical Cores
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:5143M/6133M, Ph+PgF:6768M/8000M, VA:1932M/2047M
    Wed Mar 21 05:50:45 2012
    Starting ORACLE instance (normal)
    Wed Mar 21 06:02:38 2012
    Starting ORACLE instance (normal)
    Dump file c:\oraclexe\app\oracle\admin\xe\bdump\alert_xe.log
    Wed Mar 21 06:04:03 2012
    ORACLE V10.2.0.1.0 - Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Windows NT Version V5.2 Service Pack 2
    CPU : 24 - type 586, 2 Physical Cores
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:5205M/6133M, Ph+PgF:6866M/8000M, VA:1944M/2047M
    Wed Mar 21 06:04:03 2012
    Starting ORACLE instance (normal)
    Dump file c:\oraclexe\app\oracle\admin\xe\bdump\alert_xe.log
    Wed Mar 21 06:06:00 2012
    ORACLE V10.2.0.1.0 - Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Windows NT Version V5.2 Service Pack 2
    CPU : 24 - type 586, 2 Physical Cores
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:5195M/6133M, Ph+PgF:6837M/8000M, VA:1944M/2047M
    Wed Mar 21 06:06:00 2012
    Starting ORACLE instance (normal)
    Dump file c:\oraclexe\app\oracle\admin\xe\bdump\alert_xe.log
    Wed Mar 21 06:06:11 2012
    ORACLE V10.2.0.1.0 - Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Windows NT Version V5.2 Service Pack 2
    CPU : 24 - type 586, 2 Physical Cores
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:5195M/6133M, Ph+PgF:6836M/8000M, VA:1944M/2047M
    Wed Mar 21 06:06:11 2012
    Starting ORACLE instance (normal)
    Dump file c:\oraclexe\app\oracle\admin\xe\bdump\alert_xe.log
    Wed Mar 21 06:06:40 2012
    ORACLE V10.2.0.1.0 - Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Windows NT Version V5.2 Service Pack 2
    CPU : 24 - type 586, 2 Physical Cores
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:5191M/6133M, Ph+PgF:6832M/8000M, VA:1944M/2047M
    Wed Mar 21 06:06:40 2012
    Starting ORACLE instance (normal)
    Dump file c:\oraclexe\app\oracle\admin\xe\bdump\alert_xe.log
    Wed Mar 21 06:07:18 2012
    ORACLE V10.2.0.1.0 - Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Windows NT Version V5.2 Service Pack 2
    CPU : 24 - type 586, 2 Physical Cores
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:5191M/6133M, Ph+PgF:6831M/8000M, VA:1932M/2047M
    Wed Mar 21 06:07:18 2012
    Starting ORACLE instance (normal)
    Wed Mar 21 06:07:38 2012
    Shutting down instance (abort)
    Wed Mar 21 06:07:51 2012
    Starting ORACLE instance (normal)
    Wed Mar 21 06:13:31 2012
    Starting ORACLE instance (normal)
    I have finished installing the XE on windows but result is the same, dbf file is not created on oradata folder.
    Thanks,
    Agus

  • Oracle 10g Enterprise Manager Console bug?

    I think I have come across a bug in the Oracle 10g Enterprise Manager Console. If I go into my database, then into the schema, select your schema from the list, then tables. Now once your in your tables, find one that you know of and know fairly well, right click it, and select the show dependencies. A small window will open with just that table and its tablespace and user. Select user, database name, profile, then default. If you right click on the "default" and select "show dependencies" a blank blinking window will open and stay stuck in an infinite loop until you kill the application window. I think that this is a cumbersome tablespace issue. Any thoughts?

    Hi Ugonic
    Sorry both are same, it's spelling mistake it's " WCMMISLINK". Acutally, my database is getting updated but this alert log is getting generated in enterprise manager console of 10g.
    The sql statement is
    CREATE MATERIALIZED VIEW ADASNAP REFRESH FAST START WITH SYSDATE NEXT SYSDATE+1 AS
    SELECT * FROM ADA@WCMMISLINK;
    CREATE MATERIALIZED VIEW BGTABSNAP REFRESH FAST START WITH SYSDATE NEXT SYSDATE+1 AS
    SELECT * FROM BGTAB@WCMMISLINK;
    The above query is sheduled to run every day .
    and i get the following Alert log in 10g enterprise manager console
    Generic Alert log ORA-12012: error on auto execute of job 54
    ORA-04052: error occured when looking up remote object WCMM.SYS@WCMMSERVERLINK
    ORA-00604: error occured at recursive SQL level 3
    ORA-12514: tns no listener
    ORA-06512: AT "SYS.DBMS_SNAPSHOT" line 1883
    can you guid me why the above error are occuring
    Regards
    Niranjan

  • Oracle.exe taking high memory

    Hello,I got an error Ora-04030:-ORA-04030: out of process memory when trying to allocate 3842688 bytes (session heap,kgich) on oracle 11gr2 On windows 8.
    My ram is of 16gb
    sga_max_size =8g
    Pga_aggregate_target=1.5g
    Oracle.exe goes upto 15gb.
    how it is possible?
    please reply...

    Simple: Oracle processes are implemented as threads within Oracle.exe. So you all of your sessions communicate with a corresponding thread in the Oracle.exe service. Evidently those threads consume memory.
    A SGA of 8 Gb, 50 percent of physical RAM, looks a bit outrageous to me.
    Also Windows 8? That is not even yet released! Did Oracle certify 11gR2 against Windows 8? No doubt they didn't, they never certify against newer releases!!
    Sybrand Bakker
    Senior Oracle DBA

  • Oracle 10g OEM high memory usage

    Hi,
    I am using oracle 10g SR2, after start the OEM, the CPU usage 100% and somethime will have out of memory heapdump and javacore in $ORACLE_HOME. I don't know what is the problem. pls help. The below msg is the part of javacore
    0SECTION TITLE subcomponent dump routine
    NULL ===============================
    1TISIGINFO OUTOFMEMORY received
    1TIDATETIME Date: 2007/05/06 at 16:30:56
    1XHENVVARS Environment Variables
    NULL ---------------------
    2XHENVVAR _=/u01/app/oracle/10g/jdk/bin/java.bin
    2XHENVVAR TMPDIR=/tmp
    2XHENVVAR LANG=en_US
    2XHENVVAR CONSOLE_CFG=dbconsole
    2XHENVVAR LOGIN=oracle
    Thanks

    Is it a AIX5L Based System?
    Adith

  • Awful memory bug

    A few days ago my computer started to not reuse inactive ram, which has led to incredibly low performance.
    After a minute or two, the ram is usually full (and I have 4GB), and it starts to swap like mad. Sometimes it takes ten seconds or so to bring a Safari window to the front, or more than 30 sec to bring Photoshop to the front (it's running in the background!).
    Strangest thing is, I have absolutely no clue why this started. I didn't install an update, and I didn't start using any new software.
    Has anyone a clue how to fix this? It is immensely annoying.
    Thanks, Julian

    Hi, and thanks for the tips so far.
    I have of course cheched the Activity Monitor (it shows all processes), and there is none using over 100MB. I didn't take the time to sum them all up, but it's obvious it's less than a GB.
    Virtual memory is normal as well.
    The active & inactive memory just grows huge after some time. Way too huge.
    I've had a chat with the developers of Transmission, while using that app the problem is especially big, because it has so much memory throughput. (It does happen with any app though.)
    They told me, that it's a bug that more Os X 10.5.5 users are experiencing... but I haven't found any reports so far.
    @nerowolfe: That could also be... but it would be a very strange kind of faulty memory. Because even though it decreases my computer's speed from Bugatty Veyron to Citroen 2CV, it hasen't yet managed to crash it. (I have lots of HD space to fill :-)).
    I'll just try it.
    Thanks again, Julian

  • Oracle JDBC Thin Driver Memory leak in scrollable result set

    Hi,
    I am using oracle 8.1.7 with oracle thin jdbc driver (classes12.zip) with jre 1.2.2. When I try to use the scrollable resultset and fetch records with the default fetch size, I run into memory leaks. When the records fetched are large(10000 records) over a period of access I get "outofmemory" error because of the leak. There is no use increasing the heap size as the leak is anyhow there.
    I tried using optimizeit and found there is a huge amout of memory leak for each execution of scrollable resultsets and this memory leak is propotional to the no of records fetched. This memory leak is not released even when i set the resultset,statement objects to null. Also when i use methods like scrollabelresultset.last() this memory leak increases.
    So is this a problem with the driver or i am doing some wrong.
    If some of you can help me with a solution to solve this it would be of help. If needed i can provide some statistics of these memory leaks using optimize it and share the code.
    Thanks
    Rajesh

    This thread is ancient and the original was about the 8.1.7 drivers. Please start a new thread. Be sure to include driver and database versions, stack traces, sample code and why you think there is a memory leak.
    Douglas

Maybe you are looking for

  • Safari Quit Unexpectedly 10.9.2

    I updated to Mavericks OSX 10.9.2 a week ago and have been having issues with Safari ever since. Every time I click it, it says that Safari has quit unexpectedly. I have looked at other forums and don't seem to have the Genieo application many others

  • Error in User Management and Assigning Role

    Hi, I have configured LDAP authentication on LiveCycle Server. I get the userlist with LDAP in my admin console under User Management - User & Groups. But as soon I click on any of the LDAP username I am getting error to contact administrator. Same a

  • UVerse and E4200 v1

    I have my e4200 connected behind my Uverse RG (3801HGV).  It is connected properly following instructions at post 2 from: http://forums.att.com/t5/Residential-Gateway/U-verse-for-BUSINESS-2Wire-3600HGV-bridge-mode-or-anoth... I have had to turn off t

  • How can I change the settings to be lower case pdf not upper case PDF?

    my processing site for our business will not allow documents to be saved in upper case PDF, but I can't find where to change it to lower case pdf....which I am told will fix the issue.

  • Double quote encapsulated identifiers in sql developer 1.5.1

    hello, i migrated a mysql database to oracle using the sql developer 1.5.1 on linux. unfortunately i'm using some reserved words in my table name / columns. how is it possible to generate an import script that uses double quote encapsulated identifie