Release Oracle memory

Hi All,
After searching from internet, I found that the maximum memory allowed for 32 bit Linux on Oracle is 2GB. Actually I don't know what the components are included in the 2GB ! But when I mistakenly set the PGA_AGGREGATE_TARGET to 7GB, Oracle still allow me to set it! (I just want to set to 700MB only)
After I set it to 700MB, I found that total PGA inuse and total PGA allocated from v$pgastat are continuously growing and then died. I also checked the values generated by this SQL are growing too! It died after total PGA inuse is around 1.7GB.
SELECT ROUND(pga_target_for_estimate /(1024*1024)), estd_pga_cache_hit_percentage, estd_overalloc_count
FROM v$pga_target_advice;1. Will Oracle release memory? (after I performed lots of INSERT with GROUP BY statements)
2. How to prevent Oracle to die after several LGWR switch (Alert Log message: "ORA-04030: out of process memory when trying to allocate 8512 bytes (pga heap,kgh stack)")
Thanks!

linuxos wrote:
Do you mean each non-SGA process (PMON, SMON, LGWR) can have 2GB, and all Oracle memory processes may be over 2GB in total, e.g. 20GB, 40GB?No. There are two basic memory areas that are used by "+Oracle+" - which is a collection of processes.
The "+brains+" of Oracle is a shared memory segment called the SGA. Each Oracle process, will attach itself to it. Depending on the process listing you do (and how it displays memory utilisation), it may look like there is 20GB of memory being used. Make sure to differentiate between what is shared memory (single global shared memory structure) and what is not.
The second basic memory area is the process image loaded by the kernel. This has a code segment (fixed for that executable) and data segment. The latter can be dynamic - depending on whether or not the process dynamically allocates memory to itself. This memory allocated is private process memory - not shared with any other process. In Oracle terminology this is referred to as the PGA.
But, how can I make the large amount of DML to run slowly, or recycle the memory, so that the memory can be released instantly? Actually, the PGA cannot go above 1.7GB!You can't. What you can and should do is size the memory areas for Oracle correctly given the available resources of the server and the expected utilisation of Oracle.
For example, if you service a lot of data warehouse type processes (complex and slow running queries), that would mean using Oracle dedicated server - and if there are a 100 of these processes, you will have a 100 PGAs to cater for. Otoh, if you have a 500 users all running short and fast OLTP transactions, you would rather want to use shared server processes where perhaps 50 shared server processes can service 500 concurrent session - thus you would need to size for 50 PGAs.
Perhaps you cannot cater for 50 PGAs without reducing the SGA (and in turn the size of the db buffer cache and various other caches). This can affect performance.
Thus there is a balance ito of performance when deciding on how much memory you should assign to the SGA and how much can be reserved (as free kernel memory) for PGA usage.
As for running large DMLs... that should not place heavy strain on memory at all - as that will be using the db buffer cache, residing in the SGA. This is a fixed memory area sized up front. Not something that can grow by itself. Obviously a buffer cache plays a role in reducing physical I/Os - and that needs to be sized accordingly if you want to reduce PIOs and increase performance.
However, if these DMLs are a result of poorly written PL/SQL code that attempts to "better performance" by bulk processing, this code can seriously dent memory growth as this processing (by the Oracle server process running that PL/SQL code) will require to increase PGA to cater for bulk processing.
Get the bulk processing wrong and run just a couple of these bad bulk processes, and the kernel can spend over 90% of its time on swapping.
I suggest that you read Memory Architecture in the [Oracle® Database Concepts|http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/memory.htm#i12483] guide.

Similar Messages

  • Oracle memory gets trimmed every 6 hours

    We have a very strange behaviour in our SAP R/3 Enterprise 4.7 production system (SAP_BASIS 620).
    SAP runs on Windows Server 2003 Enterprise Edition.
    10 GB RAM, PAE enabled (Physical Address Extension).
    The affected server is the database server, which also runs some working processes (DIA, BTC and UPD).
    There are also 6 Windows application servers (x32, x64 and Itanium).
    After a normal SAP start, all Windows processes bit by bit allocate their memory.
    oracle.exe starts with a Mem Usage 236 MB (VM Size 1.900 MB).
    You can see this in Windows Task Manager.
    After about 30 minutes oracle.exe reaches its average value of about 2 GB.
    The value ranges from 1,9 GB up to 2,5 GB.
    Then, about every 6 hours the following happens:
    oracle.exe deallocates its memory completely !
    No answer in SAPGUI, no reaction on the console for about 5 Minutes.
    Then when i get the first look at the Task manager, i see that oracle.exe allocated about 80 MB.
    In the next 20 minutes Mem Usage raises up to the average value of about 2 GB.
    During this time, the performance comes up again step by step.
    Not only Oracle is affected, at least every disp+work process also frees all allocated mamory.
    But it seems as if Oracle would be the first to free up its memory and then drags down the SAP Kernel processes.
    We have no changes made to the SAP Kernel, we did not apply any Windows updates.
    SAP operated error-free for the last 2 years in this configuration.
    The only thing we did, was to apply several SAP Support Packages (Basis + Application).
    This behaviour occured the next day after we imported those packages.
    So we have to suspect these packages, although the symptoms point to a problem with the SAP kernel, Oracle or the Windows memory mamagement.
    SAP Support adviced us to reduce the load on the server, so we suspended some work processes.
    Result: no improvement.
    Next we reduced the Oracle cache size by 250 MB.
    Result: the situation became even worse, the error occured every hour.
    So we icreased the cache size up to 1,36 GB.
    Result: could be an improvement, not sure yet.
    I am wondering what must happen, that all processes on a Windows Server deallocate their memory.
    Can a ABAP-Report provoke this error ?
    Has anybody else ever seen such a behaviour ?
    Any ideas ?

    Thx for your interest in this issue.
    For clarification:
    - Database version is 9.2.0.7.0
    - We will upgrade to 64 Bit in the next months, but we still need a solution for our 32 Bit system.
    - We did not add new application servers. These servers were up and running before and after the problem occured.
    - I don't think that Oracle restarts. There are no ORA-entries in the Oracle Log and there is no Oracle-Usertrace.
    The system slows down, because every byte, that is backed up in the paging file (as far as i know in MS terms this is called "standby list"), has become invalid and must be read from disk.
    Not only Oracle is affected, every process trimmed its working set.
    For example Terminal Services is unresponsive for about 4 minutes.
    In the end all processes continue their work, but it takes some time until their working set has been restored from the paging file.
    No errors occur, no Dumps, no EventLog or SystemLog entries.
    There are just some TIMEOUTs, caused by the unresponsiveness of the server in the first minutes of the memory crash.
    @Markus:
    Yes, i also think that we reached some kind of Oracle memory limit.
    Since we increased the Oracle cache size, the frequency of the error has been significantly reduced.
    But still i am wondering what funny things can happen.
    I would expect Oracle to crash, Windows to bluescreen, SAP to dump.
    But freeing the memory of all processes is something completely new to me.
    Edited by: Leonhard Bernhart on Jan 8, 2008 5:10 PM
    Edited by: Leonhard Bernhart on Jan 8, 2008 5:11 PM

  • Release the memory with stop the flv player

    Hi
    I have a problem with using flash component  flv player. In my project, I have some buttons which every one load a movie. when click a button , at first the before movie was loading should be stoped then the new movie start. I stop the before one with this code:
    flvPlayback1.stop();       
          if(flvPlayback1.parent) {
          flvPlayback1.closeVideoPlayer(1);
       removeChild(flvPlayback1);
    but it seams these codes could not release the memory, because after loading the next movie the memory usage will increase about 0.1G,

    Hi
    I have a problem with using flash component  flv player. In my project, I have some buttons which every one load a movie. when click a button , at first the before movie was loading should be stoped then the new movie start. I stop the before one with this code:
    flvPlayback1.stop();       
          if(flvPlayback1.parent) {
          flvPlayback1.closeVideoPlayer(1);
       removeChild(flvPlayback1);
    but it seams these codes could not release the memory, because after loading the next movie the memory usage will increase about 0.1G,

  • [svn] 2692: Bug: BLZ-227 - When using JMS Destination, MessageClient and FlexClient not released from memory when the session times out .

    Revision: 2692
    Author: [email protected]
    Date: 2008-07-31 13:05:35 -0700 (Thu, 31 Jul 2008)
    Log Message:
    Bug: BLZ-227 - When using JMS Destination, MessageClient and FlexClient not released from memory when the session times out.
    QA: Yes
    Doc: No
    Checkintests: Pass
    Details: Fixed a memory leak with JMS adapter. Also a minor tweak to QA build file to not to start the server if the server is already running.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-227
    Modified Paths:
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/services/messaging/adapters/J MSAdapter.java
    blazeds/branches/3.0.x/qa/build.xml

    Revision: 2692
    Author: [email protected]
    Date: 2008-07-31 13:05:35 -0700 (Thu, 31 Jul 2008)
    Log Message:
    Bug: BLZ-227 - When using JMS Destination, MessageClient and FlexClient not released from memory when the session times out.
    QA: Yes
    Doc: No
    Checkintests: Pass
    Details: Fixed a memory leak with JMS adapter. Also a minor tweak to QA build file to not to start the server if the server is already running.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-227
    Modified Paths:
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/services/messaging/adapters/J MSAdapter.java
    blazeds/branches/3.0.x/qa/build.xml

  • Oracle memory

    The Oracle 10g database on AIX installation document asks to pre-check the server, it should have at least 1Gig memory. My question is that at least 1Gig is only oracle itself that will take away at least 1Gig from my total memory of the box? So SGA and PGA are included in this amount of oracle itself or extra usage of the memory?
    For example, the box has 4Gig memory, I see 58% is used, that means oracle itself takes about 1Gig and sga_max=1Gig + pga_aggregate_target=0.5Gig, is this correct?

    Dear Betty,
    The Oracle will eat up your shared pool size in the server mostly as shared memory.
    So if you want to calculate the Oracle memory parameters for the server consider:
    Total Server Memory = SGA_MAX_SIZE + PGA_SIZE + DEDICATED_USER_CONNECTIONS + OTHER_SERVER_APP
    The DEDICATED_USER_CONNECTIONS will appear if your users are set to dedicated mode on their tnsnames. If so, you should consider this additional space that Oracle will request to server in order to create this user connections.
    The AIX processes memory is not that easy to see what is really occupied, what is free, what is cached and how many users can connect to the server. You should use pmap to map the process private area, shared area and calculate how much is used, shared and free.
    The other thing is that the SGA should be pinned on RAM, so the database will take up all the space when going up and your server will avoid the 'allocating new pages' issues. So you should set up the sga_lock=true parameter if you want to lock the SGA into memory.
    Cheers,
    Ricardo Rodriguez

  • Release Physical memory

    I am using Sigar dll for showing Physical memory...
    class Memory()
    ArrayList<HashMap> al=new ArrayList<HashMap>();
          public void EatMemory()
              while(!Stop)
                al.add(new HashMap());
              //Condition here
                  //  Stop=true;
    }and on button click event in the main form I create Memory object and call EatMemory() method
    Memory mem=new Memory();
    mem.EatMemory();and also I have a timer run method which shows physical and virtual memory of the system every second.
    Sigar s=new Sigar();
    Runtime r=Runtime.getRuntime();
    Mem m;
                public void run(){
                    try{
                        m=s.getMem();
                        long ActualUsed=m.getActualUsed()/1024;//in kilobytes
                        long ActualFree=m.getActualFree()/1024;//in kilobytes
                        long PhyTotal=m.getTotal()/1024;//in kilobytes
                        int perc=(int)m.getUsedPercent();
                        long VMTotal=r.totalMemory()/1024;
                        long VMFree=r.freeMemory()/1024;
                        long VMused=VMTotal-VMFree;
                        int vmperc=  (int)((new Double(VMused) / new Double(VMTotal))*100);
                        jlUsedMem.setText(String.valueOf(ActualUsed) );
                        jlFreeMem.setText(String.valueOf(ActualFree) );
                        jlTotalMem.setText(String.valueOf(PhyTotal) );
                        jlVMUsed.setText(String.valueOf(VMused));
                        jlVMFree.setText(String.valueOf(VMFree));
                        jlVMTotal.setText(String.valueOf(VMTotal));
                        jpbMemoryUsage.setValue(perc);
                        jpbaMemory.setValue(perc);
                        jpbVMMemoryUsage.setValue(vmperc);
                catch(Exception ex)
    }After EatMemory() method call Physical and Virtual memory increases and match the required condtion, when EatMemory() Method completes I call Runtime.getRuntime().gc() on another button event, after that Virtual Memory release memory but physical memory does not release memory. If I restart application then physical memory releases. How can it possible that like the way through which I release virtual memory, I am also release physical memory?

    Faisal_Ahmed wrote:
    need help...How are we supposed to know you didn't already get help somewhere else? Crossposting in several places makes people not help you in any of them.

  • Suse 10: Unable to release physical memory: Bad file descriptor

    When I'm trying to run jrockit it prints the message "Unable to release
    physical memory: Bad file descriptor":
    stef@linux:~> export JAVA_HOME=/home/stef/progs/jrockit-jdk1.5.0_03
    stef@linux:~> export PATH=/home/stef/progs/jrockit-jdk1.5.0_03/bin:$PATH
    stef@linux:~> java -version
    Unable to release physical memory: Bad file descriptor
    [~38 time the same message]
    Unable to release physical memory: Bad file descriptor
    java version "1.5.0_03"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_03-b07)
    BEA JRockit(R) (build dra-45238-20050523-2008-linux-ia32, R25.2.0-28)
    The vm does work and the speed seems to be okay but this messages pops
    up every time I try to run an application. (It's not specific to this
    user it also happens for root)
    What does it mean and what can I do about it?
    Yours,
    Stefan

    You can safely ignore the messages. It is a result of changes in the implementation of madvise in the 2.6.13 kernel (which, needless to say, isn't supported with JRockit). We'll change our usage in a future release so that these messages don't show up.
    Thanks for pointing it out,
    /Staffan

  • Oracle Memory utilization gradually increasing up to the max in short span

    Hi All,
    Our Oracle database running in windows 2000,having max sessions of 1500
    attains it max_memory 850m once 1500 sessions reached.
    --Shared pool memory(SQL AREA,LIBRARY CACHE,SHAREDPOOL MISCELL.,) gradually increasing.
    Oracle database version:9.2.0.5
    Server Type: Shared Server
    Os memory: 1Gb
    Oracle memory: sga-750m,pga(max) -110 allocated by oracle when no of sessions increasing.
    Pls tell me why it is happening?

    Hi Priyanka,
    Its know problem in solaris zones , 40 GB Memory is allocated to global zone & you db server zone has been assigned a part of it .
    Get is touch with you Solaris admin to know exact memory allocated to db zone , as per my knowledge they must be shared across multiple zones
    use below from Os prompt
    prstat -ZThanks,
    Ajay More
    http://www.moreajays.com

  • JInternalFrame is closed, but does not release the memory

    Hi,
    I have problem with using of JInternalFrame.
    I create a new internal frame, and close it."setClosed(true);dispose();"
    The frame does not release the memory (after gc the allocated memory is the same)
    Before close I removed all listeners, and closed all reference to other object. (I think so :-) )
    Do You have any idees?
    regards
    G�bor

    Hi,
    I think u will have to release all the associated used objects. or you can also call the finalize() method in order to release the memory.
    Regards,
    Balaji.SN

  • About  Oracle  Memory Utilization is 99.54%

    近期通过Oracle Enterprise Manager发现显示 Oracle Memory Utilization 一直在98%以上,
    如下所示
    Alert History for Last 24 Hours
    Severity Timestamp Message Details
    Nov 1, 2012 2:50:43 AM Memory Utilization is 99.54% -
    Oct 31, 2012 10:40:43 PM Memory Utilization is 95.96% -
    Oct 31, 2012 9:30:43 PM Memory Utilization is 99.09% -
    Oct 31, 2012 5:30:43 PM Memory Utilization is 98.43% -
    Oct 31, 2012 2:55:43 AM Memory Utilization is 99.64%
    请教一下,这个Oracle Memory Utilization显示的百分比是Oracle已经使用的内存占总物理内存的百分比吗?99%意味着什么?如果不是,怎么样查看Oracle占用的总内存大小?

    EXCLUSIVE segments Inuse Pin Pgsp Virtual
    1655678 6504 0 426438
    PageSize Inuse Pin Pgsp Virtual
    s 4 KB 1644750 24 0 415510
    m 64 KB 683 405 0 683
    Vsid Esid Type Description PSize Inuse Pin Pgsp Virtual
    11110f1 - clnt /dev/fslv02:24632 s 1139343 0 - -
    10f0e2f 4 work working storage sm 58014 0 0 58014
    11010f0 - clnt /dev/fslv02:24628 s 34831 0 - -
    10a1b6a 5 work working storage sm 27216 0 0 27216
    1111031 11 work text data BSS heap sm 26764 0 0 26764
    1131193 3 work working storage sm 19483 0 0 19483
    1000f00 10 clnt text data BSS heap, s 11599 0 - -
    /dev/fslv01:10258
    1021182 - clnt /dev/fslv02:24624 s 10629 0 - -
    1161056 - clnt /dev/fslv02:24622 s 10603 0 - -
    1151175 - clnt /dev/fslv02:24623 s 10072 0 - -
    10c11cc 2 work process private sm 8918 4 0 8918
    10d10ed - clnt /dev/fslv02:24629 s 7692 0 - -
    10a0f0a 11 work text data BSS heap sm 5486 0 0 5486
    11a115a 11 work text data BSS heap sm 3800 0 0 3800
    10f118f 11 work text data BSS heap sm 3800 0 0 3800
    1021c82 11 work text data BSS heap sm 3773 0 0 3773
    11c0c7c 11 work text data BSS heap sm 3063 0 0 3063
    10611c6 11 work text data BSS heap sm 3004 0 0 3004
    1061466 11 work text data BSS heap sm 2916 0 0 2916
    1031463 11 work text data BSS heap sm 2678 0 0 2678
    1081a08 11 work text data BSS heap sm 2665 0 0 2665
    11a0dba 11 work text data BSS heap sm 2424 0 0 2424
    10e10ae 11 work text data BSS heap sm 2368 0 0 2368
    1041a64 11 work text data BSS heap sm 2306 0 0 2306
    10f13cf 11 work text data BSS heap sm 2301 0 0 2301
    11c1d5c 11 work text data BSS heap sm 2256 0 0 2256
    1041f64 11 work text data BSS heap sm 2077 0 0 2077
    1141ed4 11 work text data BSS heap sm 2055 0 0 2055
    11a13fa 11 work text data BSS heap sm 2041 0 0 2041
    1041b84 11 work text data BSS heap sm 2028 0 0 2028
    1151cd5 11 work text data BSS heap sm 2023 0 0 2023
    10118a1 11 work text data BSS heap sm 2010 0 0 2010
    1001dc0 11 work text data BSS heap sm 2000 0 0 2000
    10e1fae 11 work text data BSS heap sm 1979 0 0 1979
    1191619 11 work text data BSS heap sm 1977 0 0 1977
    1091d09 11 work text data BSS heap sm 1976 0 0 1976
    1081ac8 11 work text data BSS heap sm 1976 0 0 1976
    1011801 11 work text data BSS heap sm 1975 0 0 1975
    1131973 11 work text data BSS heap sm 1973 0 0 1973
    10a164a 11 work text data BSS heap sm 1973 0 0 1973
    11a1b9a 11 work text data BSS heap sm 1973 0 0 1973
    1101f50 11 work text data BSS heap sm 1972 0 0 1972
    11e169e 11 work text data BSS heap sm 1957 0 0 1957
    10b214b 11 work text data BSS heap sm 1956 0 0 1956
    10c194c 11 work text data BSS heap sm 1948 0 0 1948
    1141e14 11 work text data BSS heap sm 1946 0 0 1946
    11c1efc 11 work text data BSS heap sm 1943 0 0 1943
    1151bb5 11 work text data BSS heap sm 1940 0 0 1940
    11e1a5e 11 work text data BSS heap sm 1893 0 0 1893
    11d12bd 11 work text data BSS heap sm 1892 0 0 1892
    1101970 11 work text data BSS heap sm 1881 0 0 1881
    11b17fb 11 work text data BSS heap sm 1878 0 0 1878
    11f203f 11 work text data BSS heap sm 1877 0 0 1877
    1091949 11 work text data BSS heap sm 1876 0 0 1876
    1141f34 11 work text data BSS heap sm 1876 0 0 1876
    10a1aea 11 work text data BSS heap sm 1867 0 0 1867
    1121c92 11 work text data BSS heap sm 1865 0 0 1865
    11613f6 11 work text data BSS heap sm 1864 0 0 1864
    10b1a2b 11 work text data BSS heap sm 1864 0 0 1864
    1171b17 11 work text data BSS heap sm 1861 0 0 1861
    1052045 11 work text data BSS heap sm 1860 0 0 1860
    1141d94 11 work text data BSS heap sm 1859 0 0 1859
    10a0f8a 11 work text data BSS heap sm 1849 0 0 1849
    1161f96 11 work text data BSS heap sm 1848 0 0 1848
    11f205f 11 work text data BSS heap sm 1846 0 0 1846
    11d15fd 11 work text data BSS heap sm 1844 0 0 1844
    11a1aba 11 work text data BSS heap sm 1833 0 0 1833
    1061446 11 work text data BSS heap sm 1832 0 0 1832
    1151c75 11 work text data BSS heap sm 1831 0 0 1831
    1091e29 11 work text data BSS heap sm 1828 0 0 1828
    1111ed1 11 work text data BSS heap sm 1827 0 0 1827
    11117b1 11 work text data BSS heap sm 1821 0 0 1821
    1011961 11 work text data BSS heap sm 1818 0 0 1818
    1161bb6 11 work text data BSS heap sm 1813 0 0 1813
    11821b8 11 work text data BSS heap sm 1810 0 0 1810
    1031d23 11 work text data BSS heap sm 1795 0 0 1795
    10621c6 11 work text data BSS heap sm 1787 0 0 1787
    1191579 11 work text data BSS heap sm 1783 0 0 1783
    11b15fb 11 work text data BSS heap sm 1780 0 0 1780
    1111eb1 11 work text data BSS heap sm 1780 0 0 1780
    1172157 11 work text data BSS heap sm 1779 0 0 1779
    1022002 11 work text data BSS heap sm 1779 0 0 1779
    1031ea3 11 work text data BSS heap sm 1764 0 0 1764
    1081c08 11 work text data BSS heap sm 1764 0 0 1764
    11f1f1f 11 work text data BSS heap sm 1764 0 0 1764
    10920e9 11 work text data BSS heap sm 1747 0 0 1747
    10e1bae 11 work text data BSS heap sm 1739 0 0 1739
    11c207c 11 work text data BSS heap sm 1736 0 0 1736
    11f217f 11 work text data BSS heap sm 1730 0 0 1730
    1071007 11 work text data BSS heap sm 1725 0 0 1725
    1022162 11 work text data BSS heap sm 1719 0 0 1719
    1051f65 11 work text data BSS heap sm 1718 0 0 1718
    11f20bf 11 work text data BSS heap sm 1707 0 0 1707
    1042064 11 work text data BSS heap sm 1703 0 0 1703
    1011b81 11 work text data BSS heap sm 1699 0 0 1699
    10a1aca 11 work text data BSS heap sm 1686 0 0 1686
    10a1dca 11 work text data BSS heap sm 1680 0 0 1680
    11d141d 11 work text data BSS heap sm 1649 0 0 1649
    10e10ee - clnt /dev/fslv02:24630 s 1558 0 - -
    11a1efa 11 work text data BSS heap sm 1495 0 0 1495
    1161cf6 11 work text data BSS heap sm 1494 0 0 1494
    1122132 11 work text data BSS heap sm 1490 0 0 1490
    11c0c9c 11 work text data BSS heap sm 1432 0 0 1432
    1051085 11 work text data BSS heap sm 1426 0 0 1426
    11a1c9a 11 work text data BSS heap sm 1398 0 0 1398
    1141274 2 work process private sm 1382 4 0 1382
    1060e26 11 work text data BSS heap sm 1335 0 0 1335
    1140f74 11 work text data BSS heap sm 1309 0 0 1309
    1171db7 11 work text data BSS heap sm 1291 0 0 1291
    1052145 11 work text data BSS heap sm 1283 0 0 1283
    10c112c 11 work text data BSS heap sm 1222 0 0 1222
    1181178 11 work text data BSS heap sm 1204 0 0 1204
    11b105b 11 work text data BSS heap sm 1197 0 0 1197
    1190f99 11 work text data BSS heap sm 1189 0 0 1189
    1120d72 11 work text data BSS heap sm 1189 0 0 1189
    10d0f0d 10 clnt text data BSS heap, s 806 0 - -
    /dev/fslv01:11421
    11f1b9f 11 work text data BSS heap sm 634 0 0 634
    1020ea2 80000000 work private load text sm 606 0 0 606
    11b11fb - clnt /dev/fslv01:10788 s 417 0 - -
    11012f0 1 clnt code,/dev/fslv01:7107 s 356 0 - -
    1001060 80000000 work private load text sm 335 0 0 335
    11b0f5b 8001000a work private load data sm 332 0 0 332
    1152195 80000000 work private load text sm 332 0 0 332
    11c205c 80000000 work private load text sm 331 0 0 331
    1001940 80000000 work private load text sm 331 0 0 331
    11c1b7c 80000000 work private load text sm 331 0 0 331
    1041f04 80000000 work private load text sm 331 0 0 331
    10f1c4f 80000000 work private load text sm 331 0 0 331
    11a1dfa 80000000 work private load text sm 331 0 0 331
    1102090 80000000 work private load text sm 331 0 0 331
    11f1aff 80000000 work private load text sm 331 0 0 331
    11c19bc 80000000 work private load text sm 331 0 0 331
    10210a2 80000000 work private load text sm 331 0 0 331
    11520d5 80000000 work private load text sm 331 0 0 331
    10c19cc 80000000 work private load text sm 331 0 0 331
    1041b64 80000000 work private load text sm 331 0 0 331
    10d158d 80000000 work private load text sm 331 0 0 331
    1121eb2 80000000 work private load text sm 331 0 0 331
    11f18ff 80000000 work private load text sm 331 0 0 331
    1181ff8 80000000 work private load text sm 331 0 0 331
    1151155 80000000 work private load text sm 331 0 0 331
    1051fc5 80000000 work private load text sm 331 0 0 331
    1132153 80000000 work private load text sm 331 0 0 331
    10e1e6e 80000000 work private load text sm 331 0 0 331
    1091989 80000000 work private load text sm 331 0 0 331
    11b141b 80000000 work private load text sm 331 0 0 331
    10b15eb 80000000 work private load text sm 331 0 0 331
    11817d8 80000000 work private load text sm 331 0 0 331
    1051145 80000000 work private load text sm 331 0 0 331
    10a146a 80000000 work private load text sm 331 0 0 331
    11f1fbf 80000000 work private load text sm 331 0 0 331
    1092189 80000000 work private load text sm 331 0 0 331
    1071b47 80000000 work private load text sm 331 0 0 331
    1131bb3 80000000 work private load text sm 331 0 0 331
    11716d7 80000000 work private load text sm 331 0 0 331
    1172137 80000000 work private load text sm 331 0 0 331
    11c1a7c 80000000 work private load text sm 331 0 0 331
    11318b3 80000000 work private load text sm 331 0 0 331
    1151d55 80000000 work private load text sm 331 0 0 331
    11e205e 80000000 work private load text sm 331 0 0 331
    10f188f 80000000 work private load text sm 331 0 0 331
    1061ea6 80000000 work private load text sm 331 0 0 331
    1161c36 80000000 work private load text sm 331 0 0 331
    1161f16 80000000 work private load text sm 331 0 0 331
    11c0f3c 80000000 work private load text sm 331 0 0 331
    11720d7 80000000 work private load text sm 331 0 0 331
    1021fa2 80000000 work private load text sm 331 0 0 331
    1191979 80000000 work private load text sm 331 0 0 331
    1192119 80000000 work private load text sm 331 0 0 331
    1001fe0 80000000 work private load text sm 331 0 0 331
    11e1cbe 80000000 work private load text sm 331 0 0 331
    1091ee9 80000000 work private load text sm 331 0 0 331
    11d217d 80000000 work private load text sm 331 0 0 331
    1002140 80000000 work private load text sm 331 0 0 331
    11f1cff 80000000 work private load text sm 331 0 0 331
    11a1c7a 80000000 work private load text sm 331 0 0 331
    11c217c 80000000 work private load text sm 331 0 0 331
    1171117 80000000 work private load text sm 331 0 0 331
    1031703 80000000 work private load text sm 331 0 0 331
    10d13cd 80000000 work private load text sm 331 0 0 331
    1021e02 80000000 work private load text sm 331 0 0 331
    1011d61 80000000 work private load text sm 331 0 0 331
    1151ff5 80000000 work private load text sm 331 0 0 331
    1001ce0 80000000 work private load text sm 331 0 0 331
    11e193e 80000000 work private load text sm 331 0 0 331
    1081ec8 80000000 work private load text sm 331 0 0 331
    1001a00 80000000 work private load text sm 331 0 0 331
    1101930 80000000 work private load text sm 331 0 0 331
    1001580 80000000 work private load text sm 331 0 0 331
    10a1baa 80000000 work private load text sm 331 0 0 331
    1111ef1 80000000 work private load text sm 331 0 0 331
    1042184 80000000 work private load text sm 331 0 0 331
    10d0f6d 80000000 work private load text sm 331 0 0 331
    1171f77 80000000 work private load text sm 331 0 0 331
    10b16cb 80000000 work private load text sm 331 0 0 331
    11413f4 80000000 work private load text sm 331 0 0 331
    11220f2 80000000 work private load text sm 331 0 0 331
    11818b8 80000000 work private load text sm 331 0 0 331
    1121cb2 80000000 work private load text sm 331 0 0 331
    1091aa9 80000000 work private load text sm 331 0 0 331
    1051005 80000000 work private load text sm 330 0 0 330
    10f102f 80000000 work private load text sm 330 0 0 330
    10a112a 80000000 work private load text sm 330 0 0 330
    11609f6 80000000 work private load text sm 330 0 0 330
    10d100d 80000000 work private load text sm 330 0 0 330
    11c0d5c 80000000 work private load text sm 330 0 0 330
    11f1d3f 80000000 work private load text sm 328 0 0 328
    11620d6 80000000 work private load text sm 328 0 0 328
    1081208 80000000 work private load text sm 328 0 0 328
    11e17de 80000000 work private load text sm 328 0 0 328
    1090e69 80000000 work private load text sm 327 0 0 327
    1191059 80000000 work private load text sm 327 0 0 327
    1000fa0 80000000 work private load text sm 327 0 0 327
    1130f53 80000000 work private load text sm 327 0 0 327
    1080ee8 80000000 work private load text sm 327 0 0 327
    11b115b 80000000 work private load text sm 327 0 0 327
    1130eb3 80000000 work private load text sm 327 0 0 327
    1130f13 80000000 work private load text sm 327 0 0 327
    10d118d 80000000 work private load text sm 327 0 0 327
    11e113e 80000000 work private load text sm 327 0 0 327
    1031083 80000000 work private load text sm 325 0 0 325
    10c10ac 80000000 work private load text sm 325 0 0 325
    1051265 - clnt /dev/fslv01:10524 s 324 0 - -
    10f112f f work working storage sm 281 0 0 281
    10c10ec - clnt /dev/fslv02:24633 s 187 0 - -
    1081ca8 8001000a work private load data sm 146 0 0 146
    11d1dfd 8001000a work private load data sm 146 0 0 146
    1191679 8001000a work private load data sm 146 0 0 146
    1111e11 8001000a work private load data sm 146 0 0 146
    10b0e8b 8001000a work private load data sm 146 0 0 146
    1081ce8 8001000a work private load data sm 146 0 0 146
    1151055 8001000a work private load data sm 146 0 0 146
    11d117d 8001000a work private load data sm 146 0 0 146
    11a14da 8001000a work private load data sm 146 0 0 146
    11f1b1f 8001000a work private load data sm 146 0 0 146
    10b1acb 8001000a work private load data sm 146 0 0 146
    1082108 8001000a work private load data sm 146 0 0 146
    1191cb9 8001000a work private load data sm 146 0 0 146
    1160f96 8001000a work private load data sm 146 0 0 146
    1171c97 8001000a work private load data sm 146 0 0 146
    1031a03 8001000a work private load data sm 146 0 0 146
    11d195d 8001000a work private load data sm 146 0 0 146
    11519d5 8001000a work private load data sm 146 0 0 146
    11d165d 8001000a work private load data sm 146 0 0 146
    11d1d9d 8001000a work private load data sm 146 0 0 146
    1191019 8001000a work private load data sm 146 0 0 146
    10b170b 8001000a work private load data sm 146 0 0 146
    10e1bee 8001000a work private load data sm 146 0 0 146
    11b1ffb 8001000a work private load data sm 146 0 0 146
    1090de9 8001000a work private load data sm 146 0 0 146
    1051d85 8001000a work private load data sm 146 0 0 146
    1061006 8001000a work private load data sm 146 0 0 146
    1131833 8001000a work private load data sm 146 0 0 146
    1011d21 8001000a work private load data sm 146 0 0 146
    1111471 8001000a work private load data sm 146 0 0 146
    1191139 8001000a work private load data sm 146 0 0 146
    11d20fd 8001000a work private load data sm 146 0 0 146
    11719d7 8001000a work private load data sm 146 0 0 146
    10b1eab 8001000a work private load data sm 146 0 0 146
    1031da3 8001000a work private load data sm 146 0 0 146
    1051685 8001000a work private load data sm 146 0 0 146
    11f215f 8001000a work private load data sm 146 0 0 146
    10712e7 8001000a work private load data sm 146 0 0 146
    1031dc3 8001000a work private load data sm 146 0 0 146
    1171b77 8001000a work private load data sm 146 0 0 146
    10c178c 8001000a work private load data sm 146 0 0 146
    10b1f0b 8001000a work private load data sm 146 0 0 146
    10620a6 8001000a work private load data sm 146 0 0 146
    1041c24 8001000a work private load data sm 146 0 0 146
    11a213a 8001000a work private load data sm 146 0 0 146
    1101d70 8001000a work private load data sm 146 0 0 146
    1142074 8001000a work private load data sm 146 0 0 146
    1151eb5 8001000a work private load data sm 146 0 0 146
    11513f5 8001000a work private load data sm 146 0 0 146
    1021c02 8001000a work private load data sm 146 0 0 146
    11720f7 8001000a work private load data sm 146 0 0 146
    11a105a 8001000a work private load data sm 146 0 0 146
    1121b52 8001000a work private load data sm 146 0 0 146
    11a1e9a 8001000a work private load data sm 146 0 0 146
    1101030 8001000a work private load data sm 146 0 0 146

  • Full garbage collection issue, not releasing/flagging memory

    I have the following problem running on a multi-cpu windows server with Java 1.4.2_05 using WebLogic 8.1:
    During a lifecyle of the web application (under load, but not to heavy) memory usage seems ok and garbage collection is called regularly. Suddenly, the used heap starts to rize very fast and after a while, even a full garbage collection cylce, does not release any memory anymore.
    I am sure that, from our coding, we release memory ok, and normally we should only use about 5 to 10 mb for each user max (with0 normal defnew garbage collections).
    I tried changing the garbage collection parameters, but this does not solve the problem. Best scenario was with the concurrent collector and I got this output at +/- the end:
    [GC 100202K->93511K(115628K), 0.0091472 secs]
    [GC 148480K->139612K(163808K), 0.0225914 secs]
    [Full GC[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor289]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor290]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor273]
    153750K->133006K(164064K), 1.2434402 secs]
    [GC 148939K->137948K(203264K), 0.0223085 secs]
    [GC 188789K->177116K(203264K), 0.0180729 secs]
    [Full GC[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor312]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor322]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor309]
    189788K->170264K(203264K), 1.1851945 secs]
    [Full GC 203228K->203227K(203264K), 1.2876122 secs]
    [Full GC 203263K->203233K(203264K), 1.3354548 secs]
    [Full GC 203263K->203258K(203264K), 1.2873518 secs]
    <Jan 17, 2007 9:40:40 AM EST> <Error> <HTTP> <BEA-101017> <[ServletContext(id=33114655,name=console,context-path=/console)] Root cause of ServletException.
    java.lang.OutOfMemoryError
    >
    [Full GC 203263K->203233K(203264K), 1.2814516 secs]
    [Full GC 203233K->203231K(203264K), 1.6029044 secs]
    [Full GC 203263K->203242K(203264K), 1.3081352 secs]
    <Jan 17, 2007 9:41:51 AM EST> <Emergency> <WebLogicServer> <BEA-000210> <The WebLogic Server is no longer listening for connections.>
    [Full GC 203263K->203247K(203264K), 1.3161194 secs]
    [Full GC 203263K->203249K(203264K), 1.2954988 secs]
    [Full GC 203263K->203247K(203264K), 1.6423404 secs]
    <Jan 17, 2007 9:41:57 AM EST> <Alert> <WebLogicServer> <BEA-000218> <Server shutdown has been requested by <WLS Kernel>>
    [Full GC 203263K->203250K(203264K), 1.3161025 secs]
    Another strange item is: I maximized the amount of memory it uses to 512m with the Xmx parameter, I am almost sure that that one is used, but it never gets higher than 203M? Does anyone know why this is?
    Another strange item: the monitoring in the weblogic code indicates 32MB of usage (relative memory usage seems to be ok, but the quanity indication is just plain wrong) with 15 threads running.
    This problem does not exist when using JBoss 4.0.2 or 4.0.3 (standard j2ee settings).
    If anyone has an idea or can help me, I would appreciate it very very much. :)

    Hi ,
    Is this issue resolved ?
    we are facing same problem.
    1. We have checked the CPU and memory utilization everything is normal
    2. GC logs showing FULL GC calls continuously
    3. After restart the resin server system is working normally.
    Environment detail
    Resin ./resin-pro-3.0.18 on suse Linux
    Java JDK1.4.2_08
    Please suggest

  • Cleaning oracle memory

    Hi,
    I am doing analysis of query running with union all and without union all i.e union.
    So i want clean the memory after the first run so that the execution plan and result will be in oracle memory.
    Command for clearing the memory and runing to see the execution time

    I agree with Toon.
    Why do you want to "clear the memory"? That is not needed. Measure the workload of each method and use that to determine which has the lowest workload. Messing with memory and measuring elapsed time are flawed.
    You can clear Oracle's buffer cache in order to make both queries use physical I/O.. but what about the file system cache? The data can be cached there.. Therefore one query can be lucky and its Oracle physical I/O is in fact logical I/O from the file system cache, whereas the other query's physical I/Os as seen by Oracle are indeed physical.
    Measurement and benchmarking using elapsed time is dangerous.. as it is a complex issue that needs one to understand all aspects and moving parts involved. You cannot merely tinker with Oracle's "memory" and expect that to create a level playing field for comparing and benchmarking queries.

  • When is a package released from memory?

    When I call a package for the first time, the whole package is loaded into memory and later calls to related procedures in the package require no disk I/O. But what does "for the first time" mean? I mean, when will the package loaded into memory be released? When the DB get shoutdowned or what else?
    Thanks!

    Hi,
    Refer Oracle Package Pinning and
    Oracle Packages
    *009*

  • Crystal Report Viewer Not Releasing Oracle Database Connections

    I have a very simple vb.net 3.5 web application that uses the Crystal Report viewer 2008 to open a report. My requirements are as follows:
    1. Reports are built by another company and provided to us and used in a web environment
    2. All reports contain parameter fields
    3. The web application must be generic enough that a report can be added to a list and the user simply selects the report and provides database login information. The Crystal report viewer with handle the request for parameter values and prompt the user for their values.
    4. All reports connect to an Oracle 10g server.
    The above requirements have been meet and we have an extremely simple web application that runs the reports. It is working very well other than the crystal report viewer is not releasing the database connections. This is bad because the credentials are on a per user basis and that same user must login to a different oracle application simultaneously. They are being denied access because the credentials are already in use. We do not have control nor influence over the policies in use on the Oracle server. Ideally we would like to control the Crystal Report viewer so that it closes connections after use.
    The web application code is:
    Private Sub viewReports_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
    If Not IsPostBack Then
    ConfigureCrystalReport()
    End If
    End Sub
    Private Sub ConfigureCrystalReport()
    'Load the Crystal Report viewer with a report.
    Try
    Dim reportPath As String = Server.MapPath(Session("reportname"))
    crViewer.ReportSource = reportPath
    Catch ex As Exception
    Response.Write(Server.MapPath(Session("reportname")) & "
    " & ex.Message.ToString & "
    " & ex.StackTrace.ToString)
    End Try
    End Sub
    Can anyone shed some light on this topic? Thank you

    Hello, Timothy;
    By default, having the report in session will hold it open for 20 minutes.
    If you create the report as a ReportDocument object you can take it out of session and release it more efficiently. That will release the connection.
        Private Sub ConfigureCrystalReports()
            If (Session("hierarchicalGroupingReport") Is Nothing) Then
                hierarchicalGroupingReport = New ReportDocument()
                hierarchicalGroupingReport.Load(Server.MapPath("Hierarchical Grouping.rpt"))
                Session("hierarchicalGroupingReport") = hierarchicalGroupingReport
            Else
                hierarchicalGroupingReport = CType(Session("hierarchicalGroupingReport"), ReportDocument)
            End If
            myCrystalReportViewer.ReportSource = hierarchicalGroupingReport
        End Sub
    In the Form Unload of the Viewer:
                'Take the report out of session
                Session("hierarchicalGroupingReport")  = Nothing
                Session.Contents.Remove("hierarchicalGroupingReport")
                'Clean up the ReportDocument object
                hierarchicalGroupingReport.Close
                hierarchicalGroupingReport.Dispose()
                hierarchicalGroupingReport = Nothing
                GC.Collect()
    Elaine

  • [New Release] Oracle Application Testing Suite 12.5.0.1.0

    Hi All,
    OATS new release available, please check : http://www.oracle.com/technetwork/oem/app-test/index-084446.html
    From Release Notes
    Oracle Application Testing Suite 12.5.0.1 - New Features and Updates
    Support for Chrome 32 browser - Oracle OpenScript includes support for the Chrome 32 browser for playback.
    Support for Firefox 31 browser - Oracle OpenScript includes support for the Firefox 31 browser for record and playback.
    Support for Internet Explorer 10 and 11 browser - Oracle OpenScript includes support for Internet Explorer 10 browser for playback on Windows 7 SP1 and Windows 8.
    New movie recording of playback feature - Oracle OpenScript includes a new movie recording feature that allows recording and playback of a movie file showing the playback of OpenScript functional test scripts.
    New advanced VU start, stop, and ramp features added to Oracle Load Testing - Oracle Load Test includes new features that provide advanced control over script start, stop, and ramp up conditions a the script level.
    Support for Internet Explorer 10 and 11 browser - Oracle Load Testing and Oracle Test Manager include support for Internet Explorer 10 browser for playback on Windows 7 SP1 and Windows 8.
    New Lightweight Directory Access Protocol (LDAP) authentication feature added for Oracle Test Manager - Oracle Test Manager Administrator tool includes new features for configuring the LDAP server to use for authentication.
    -POPS

    I have a similar problem with the OATS v9.20 installation. I did manage to install it on our main load generator (running Windows 2003 Server) but when it came to installing OpenScript on my laptop (XP SP3) the install 'hangs' at 78%.
    I did raise a support call with Oracle about this (there was a bug report generated) but the case is still open.
    I've been waiting to hear when the next version was due (in the hope that this might have been resolved) but by the sounds of it there could still be an issue on WinXP with v9.21?
    For reference I originally logged this with the following in the description:
    The installation looks like it is failing because of a double backslash in a path ending "OATS920\\bin\copyOUI.bat". We then get an error in javaw.exe which when OK'ed then stops the installation at the stage "creating 'Uninstall Oracle Application Testing Suite' in folder 'Oracle Application Testing Suite' ".

Maybe you are looking for