Using Swap space

Hi All
I have an application consisting of lots of processes. When ever I start my applicaiton, I seem to be running out of swap space. I see that there is a lot of reserved space. Means the applications are attaching shm and/or requesting mallocs. Is there any way to fix this, either by debug by some mem tool or by any compiler options? I am running this on Solaris 10 with binaries compiled in sun studio 11 compiler set.
Thanks in advance.

Hi All
I have an application consisting of lots of
processes. When ever I start my applicaiton, I seem
to be running out of swap space.How are you viewing this?
I see that there is
a lot of reserved space. Means the applications are
attaching shm and/or requesting mallocs.Also, just the forking will need to reserve space as well.
Is there any
way to fix this,I don't see that anything is broken. What are you trying to fix? You need memory to run lots of programs. Have you tried increasing the swapfiles on the machine? That will handle increased reservation requirements.
Darren

Similar Messages

  • Database Instance Using Swap Space even When There is Plenty of Free RAM

    Hi,
    I am facinga strange issue in oracle on solaris 5.10
    Platform:solaris 5.10
    Database version:11.2.0.1.0
    Our database Instance Using Swap Space even When There is Plenty of Free RAM.
    We have 80GB of physical RAM, 32GB is set to oracle SGA_MAX_SIZE
    memory parameters:
    memory_max_target big integer 32G
    memory_target big integer 32G
    sga_max_size big integer 32G
    sga_target big integer 32G
    but still oracle is taking memory from swap even though we have enough physical memory.
    please find the top output
    load averages: 0.09, 0.18, 0.84 01:07:49
    134 processes: 133 sleeping, 1 on cpu
    CPU states: 99.4% idle, 0.4% user, 0.3% kernel, 0.0% iowait, 0.0% swap
    Memory: 80G real, 69G free, 35G swap in use, 49G swap free
    PID USERNAME LWP PRI NICE SIZE RES STATE TIME CPU COMMAND
    1052 oracle 13 59 0 95M 66M sleep 13:16 0.07% oraagent.bin
    10256 oracle 1 59 0 32G 835M sleep 0:00 0.03% oracle
    1227 oracle 15 59 0 78M 56M sleep 4:27 0.02% ocssd.bin
    9524 vector1 112 59 0 1704M 776M sleep 45:04 0.02% java
    988 oracle 38 59 0 119M 92M sleep 3:00 0.02% ohasd.bin
    1297 oracle 1 101 -20 453M 390M sleep 2:47 0.02% oracle
    1765 oracle 1 101 -20 32G 329M sleep 2:45 0.02% oracle
    10258 oracle 1 59 0 32G 345M sleep 0:00 0.02% oracle
    10259 oracle 1 59 0 3400K 2024K cpu/20 0:00 0.01% top
    1777 oracle 1 59 0 32G 342M sleep 1:14 0.01% oracle
    1246 oracle 6 59 0 56M 44M sleep 1:22 0.01% diskmon.bin
    1803 oracle 1 59 0 32G 514M sleep 0:30 0.01% oracle
    1215 oracle 15 59 0 71M 46M sleep 1:12 0.00% cssdagent
    1307 oracle 1 59 0 453M 390M sleep 0:45 0.00% oracle
    1217 oracle 11 59 0 81M 49M sleep 0:35 0.00% orarootagent.bi
    Vmstat output:
    $vmstat 5 5
    kthr memory page disk faults cpu
    r b w swap free re mf pi po fr de sr s3 s3 s3 s3 in sy cs us sy id
    0 0 0 53698448 73900568 20 81 32 6 5 0 1 -0 0 1 -0 2235 1447 1984 1 0 99
    0 0 0 51196160 72037552 1 13 0 0 0 0 0 0 0 0 0 2505 1403 2204 0 0 100
    0 0 0 51193488 72035864 55 380 0 0 0 0 0 0 0 0 0 2487 2143 2203 0 1 99
    0 0 0 51183856 72030176 0 0 0 3 3 0 0 0 0 0 0 2496 1370 2182 0 0 99
    0 0 0 51182648 72029112 22 117 0 0 0 0 0 0 0 0 0 2503 1408 2193 1 0 99
    $cat /etc/release
    Solaris 10 10/09 s10s_u8wos_08a SPARC
    Copyright 2009 Sun Microsystems, Inc. All Rights Reserved.
    Use is subject to license terms.
    Assembled 16 September 2009
    I refered the metalink document id: [ID 761960.1]
    Database Instance Using Swap Space When There is Plenty of Free RAM metalink note [ID 761960.1]
    and tried the disabling the sga_max_size and memory_max_target and memory target with all different combination but no use.
    We have one more box where same setup was configured in solaris platform but there the above memory parameters are not disabled but it is not using swap space it takes memry only from physical RAM
    Can any one throw some lights on this issue. It wopuld be great if I come to know where the exact problem
    Thanks in advance
    With Regards,
    Boobathi P

    Hi,
    I didn't say I am not using 11gr2 memory parameters I am using all the automatic memory parameters but the thinks is as per the metalink note I tried by disabling the automatic memory parameters. but that didn't help me in preventing unnecessary swap usage. So I reverted. now it is using automatic memory parameters.
    so What is the solution for this?
    With Regards,
    Boo

  • Observation: SAP uses swap space even when OS has available unused memory

    Hi Folks,
       It is my understanding that any memory not used by the Linux OS itself or the SAP application is available for Linux to use for I/O buffers and file caching.  When the SAP application requires more memory I would expect Linux to take memory away from itself (release I/O buffer and/or file caching memory).
       We have observed that SAP uses swap space even when there is  memory available.  Is there some feature in SAP kernel or some ABAP construct that causes SAP to prefer swap space over available memory?  Or maybe there is a Linux kernel setting that influences SAP's use of swapping.
    Regards,
    Zaz

    Hi Mike
    You did not mention which distribution you have. Under SLES there is is a parameter called SWAPPINESS, which controls the buffering/swapping.
    cat /proc/sys/vm/swappiness
    If you don't already know, you can see the memory usage with the free command.
    root # free -m
                 total       used       free     shared    buffers     cached
    Mem:          7987       7901         85          0        364       4262
    -/+ buffers/cache:       3274       4712
    Swap:        15999          0      15999
    As far as i know, in this example 3274 is memory used by SAP and other processes and 4712 is cache. Please correct me if i am wrong.
    Regards
    Michael
    Edit: a low swappines, for example 10 means to reduce cache first, a high swappiness (example 100) means page out processes first
    Edited by: mho on Jun 20, 2008 11:21 AM

  • How to find Oracle is using swap space or not?

    Hi,
    I have a SuSe Linux database server on which 2 Oracle 10g databases and one MySQL server is running.
    I can see a very little swap space is being used in the server while there is almost 100% RAM utlization.
    I want to know if my Oracle databases are using swap or not. If it is using, how much of swap being used currently by each Oracle database?
    Can someone please guide me on how to do that?
    Thanks in advance for your help.
    Regards,
    Murali Mohan

    I did "vmstat 1 10" and here is the output.
    What I want to know how much swap space is used by each of my oracle database while the below output is for total swap usage
    procs -----------memory---------- ---swap-- -----io---- system ----cpu----
    r b swpd free buff cache si so bi bo in cs us sy id wa
    0 0 2366860 36996 81660 9458664 67 44 4160 356 9 13 5 3 82 9
    0 0 2366860 38224 81748 9458576 0 0 0 512 1041 369 0 0 99 1
    1 0 2366860 38224 81748 9458576 0 0 4 80 1053 293 6 0 93 0
    2 0 2366860 38224 81752 9458572 0 0 80 40 1467 956 22 7 70 1
    2 1 2366860 38248 81760 9458564 0 0 0 580 1150 444 32 17 50 1
    1 1 2366860 38124 81808 9458516 0 0 360 1040 1672 1158 28 13 51 8
    2 0 2366860 38124 81832 9458492 0 0 84 288 1380 931 33 10 57 1
    2 0 2366860 36596 81884 9458388 52 0 52 4088 1098 475 36 16 46 1
    2 0 2366860 38188 81916 9458356 0 0 144 1096 1251 570 36 12 49 2
    2 0 2366860 38180 81916 9458356 0 0 68 136 1595 1134 28 9 63 1

  • Is useing swap space and hibernation secure?

    As I understand it when you hibernate your system the ram is written to the swap space and the computer powers down. Is this secure and encrypted?

    seniorsassycat wrote:As I understand it when you hibernate your system the ram is written to the swap space and the computer powers down. Is this secure and encrypted?
    No, it is not. But are ypou running arch from an encrypted filesystem? Otherwise it would be pojntless. Anyway the normal swap is not encrypted either, at least by default.
    Last edited by olive (2012-06-18 13:53:22)

  • Arch process using more swap space

    Hi,
    DB : 11.2
    OS : Aix 6
    While taking archive backup by oem,only 9 archive process consuming more swap space.
    The parameter value is LOG_ARCHIVE_MAX_PROCESSES=15 at db level.
    Why only 9 archive process use swap space at os level?
    how to determine all the archive process needed?
    Thanks & Regards,
    VN

    user3266490 wrote:
    Hi,
    Thanks for your reply.
    Physical memory 120 GB,Swap space 45GB.
    We getting TOP consuming SWAP space PID's from OS team.Then we checked v$session with that PID's.We found that PID's belongs to archive processes.
    Nealry 25 log switch per hour happened.the log file size 8gb,8 groups. Then REDO log files is is way too small by around a factor of SIX
    Increase REDO log file size to 50GB to reduce the number of switches per hour to around 3 0r 4.

  • SWAP space usage??

    When I am monitoring my system using TOP, all of my java process is running well over 350M. The Size field is showing 470M and the RES field is showing 350M. But my Xms and Xmx is set to 256M. Is this mean the applications are using SWAP space?

    Not necessarily. The total memory used by the JVM process will always be more than the Java heap size, specified by ms and mx. Memory used by the JVM for internal management, memory allocated in native code and memory allocated for the permanent space are all allocated outside of the Java heap space.
    You could be using swap space if the total memory reserved by all applications and the OS in the system exceeds the physical RAM installed.
    Arunabh

  • Tmpfs not using swap [Solved]

    i have set up /tmp as tmpfs for compiling but i get errors when i run out of memory, i was under the assumption that when tmpfs runs out of memory it uses swap space but swap never gets used even when swappiness is set to 100
    df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/sda1 19G 729M 18G 4% /
    none 1.9G 1.8M 1.9G 1% /dev/shm
    none 1.9G 864M 983M 47% /tmp
    none 10M 332K 9.7M 4% /var/log
    none 10M 44K 10M 1% /var/run
    none 10M 0 10M 0% /var/lock
    /dev/sda2 19G 1.6G 17G 9% /usr
    /dev/sda3 185G 3.1G 172G 2% /home
    mount
    /dev/sda1 on / type ext4 (rw,noatime)
    none on /dev type ramfs (rw,relatime)
    none on /proc type proc (rw,relatime)
    none on /sys type sysfs (rw,relatime)
    none on /dev/pts type devpts (rw)
    none on /dev/shm type tmpfs (rw)
    none on /tmp type tmpfs (rw)
    none on /var/log type tmpfs (rw,size=10m)
    none on /var/run type tmpfs (rw,size=10m)
    none on /var/lock type tmpfs (rw,size=10m)
    /dev/sda2 on /usr type ext4 (rw,noatime)
    /dev/sda3 on /home type ext4 (rw,noatime)
    free
    total used free shared buffers cached
    Mem: 3780388 1494456 2285932 0 42884 1084512
    -/+ buffers/cache: 367060 3413328
    Swap: 8000360 0 8000360
    Last edited by guzz46 (2009-08-23 23:51:48)

    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    none /dev/pts devpts defaults 0 0
    none /dev/shm tmpfs defaults 0 0
    none /tmp tmpfs defaults 0 0
    none /var/log tmpfs defaults,size=10m 0 0
    none /var/run tmpfs defaults,size=10m 0 0
    none /var/lock tmpfs defaults,size=10m 0 0
    #/dev/cdrom /media/cd auto ro,user,noauto,unhide 0 0
    #/dev/dvd /media/dvd auto ro,user,noauto,unhide 0 0
    #/dev/fd0 /media/fl auto user,noauto 0 0
    /dev/sda1 / ext4 defaults,noatime 0 1
    /dev/sda2 /usr ext4 defaults,noatime 0 2
    /dev/sda3 /home ext4 defaults,noatime 0 2
    /dev/sda4 swap swap defaults 0 0
    do you have to specify tmpfs instead of none under file system?
    Edit: i also tried
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    none /dev/pts devpts defaults 0 0
    tmpfs /dev/shm tmpfs defaults 0 0
    tmpfs /tmp tmpfs defaults 0 0
    tmpfs /var/log tmpfs defaults,size=10m 0 0
    tmpfs /var/run tmpfs defaults,size=10m 0 0
    tmpfs /var/lock tmpfs defaults,size=10m 0 0
    #/dev/cdrom /media/cd auto ro,user,noauto,unhide 0 0
    #/dev/dvd /media/dvd auto ro,user,noauto,unhide 0 0
    #/dev/fd0 /media/fl auto user,noauto 0 0
    /dev/sda1 / ext4 defaults,noatime 0 1
    /dev/sda2 /usr ext4 defaults,noatime 0 2
    /dev/sda3 /home ext4 defaults,noatime 0 2
    /dev/sda4 swap swap defaults 0 0
    mount
    /dev/sda1 on / type ext4 (rw,noatime)
    none on /dev type ramfs (rw,relatime)
    none on /proc type proc (rw,relatime)
    none on /sys type sysfs (rw,relatime)
    none on /dev/pts type devpts (rw)
    tmpfs on /dev/shm type tmpfs (rw)
    tmpfs on /tmp type tmpfs (rw)
    tmpfs on /var/log type tmpfs (rw,size=10m)
    tmpfs on /var/run type tmpfs (rw,size=10m)
    tmpfs on /var/lock type tmpfs (rw,size=10m)
    /dev/sda2 on /usr type ext4 (rw,noatime)
    /dev/sda3 on /home type ext4 (rw,noatime)
    but nothings changed, i'm sure it's a tmpfs because /tmp reads 1.9gb and everythings in there is gone after a reboot but it still doesn't use swap as backup
    Last edited by guzz46 (2009-08-23 12:38:43)

  • Swap space for multiple instaces on the same box

    OS: Oracle Enterprise Linux 5 Update 2 (64-bit)
    DB: 10.2.0.4
    I'm fairly new to Linux and have a general question about configuring swap space on a Linux box running 10g. From the 10g: Managing Oracle on Linux for DBAs class, Oracle gives the following recommendations about swap size:
    RAM (Swap)
    <= 2Gb (150% of the RAM size)
    Between 2Gb - 8Gb (Equal to the RAM size)
    8Gb+ (75% of the RAM size)
    It's not clear to me from reading the book if this recommendation is good for all Oracle processes running on the machine, or if it's a per instance value? The box has 16Gb of RAM but there are going to be three instances running on it and I need to verify that 12Gb of swap will support all three without issue or if I'll need to configure 12Gb swap per instance.
    Appreciate any input.

    As noted earlier in this thread, swap space is an operating system property, and has nothing to do with software you want to run on top of it, like an oracle database.
    The function of swap space is to be able cope with memory allocations beyond the amount of physical memory. In most occasions you do not want to use swap space, because it has a severe performance impact (memory blocks have to be exchanged from the swap device to physical memory).
    (please mind that on some unixes (AIX and HPUX if I am not mistaking), swap is pre-allocated for processes which means the swap size is not only depended of operating system and memory size, but also the number of processes. Linux does not do that, it starts to allocate swap pages under memory pressure. There are certain issues with some memory settings in linux (linux kernel memory management is quite automatic) that can get your system to page. (memory overcommitting is one thing))
    In my experience, the amount of memory which is used is depended on the amount of memory on the machine in most cases. Whilst this sound simple, think of it: with 2GB used, probably most DBA's would allocate approximately 1.5GB to the databases on that machine, if your machine got 16GB you probably want approximately 14GB to be used by the databases.
    This means (for me) that I use swapspace with the same size as the amount of memory. That few extra GB's allocated to swap won't cost you or your company an arm and a leg, so have that for not running out of memory.

  • Swap space used is above threshold of 90

    Hi all,
    i am facing an issues in linux box which is Swap space used is above threshold of 90
    [oracle@gbaheovl21 scripts]$ free
                 total       used       free     shared    buffers     cached
    Mem:       8388608    8354400      34208          0      32748    4354904
    -/+ buffers/cache:    3966748    4421860
    Swap:      6257992    5816940     441052
    scripts]$ sar -r
    07:00:01    kbmemfree kbmemused  %memused kbbuffers  kbcached kbswpfree kbswpused  %swpused  kbswpcad
    07:10:01        15868   8372740     99.81     16348   4356644    479720   5778272     92.33    767516
    07:20:01        93232   8295376     98.89     17624   4304864    433200   5824792     93.08    773240
    07:30:01        29092   8359516     99.65     22664   4328688    442496   5815496     92.93    800512
    07:40:01        39700   8348908     99.53     28584   4348424    441392   5816600     92.95    768592
    Average:        57576   8331032     99.31     56029   4292652    349858   5908134     94.41    775742
    Is their any fix to this issue with out reboot ? please any one help me on this ?

    Hi ,
    sorry for that , i am pasting the info below.
    Linux venkat.gb.com 2.6.18-238.el5xen #1 SMP Sun Dec 19 14:42:02 EST 2010 x86_64 x86_64 x86_64 GNU/Linux
    it is a Oracle virtual linux and here few databases are running
    [root@ ~]# sysctl vm.swappiness
    vm.swappiness = 60
    [root@~]# df /dev/shm
    Filesystem           1K-blocks      Used Available Use% Mounted on
    tmpfs                  4194304    249220   3945084   6% /dev/shm
    [root@ ~]# ipcs -um
    ------ Shared Memory Status --------
    segments allocated 31
    pages allocated 2099310
    pages resident  1003699
    pages swapped   881584
    Swap performance: 0 attempts     0 successes
    [root@ ~]# cat /proc/meminfo
    MemTotal:      8388608 kB
    MemFree:         29556 kB
    Buffers:         39224 kB
    Cached:        4458580 kB
    SwapCached:     625964 kB
    Active:        6728908 kB
    Inactive:       548592 kB
    HighTotal:           0 kB
    HighFree:            0 kB
    LowTotal:      8388608 kB
    LowFree:         29556 kB
    SwapTotal:     6257992 kB
    SwapFree:       512504 kB
    Dirty:            3360 kB
    Writeback:           0 kB
    AnonPages:     2442472 kB
    Mapped:        3943420 kB
    Slab:           256204 kB
    PageTables:     525464 kB
    NFS_Unstable:        0 kB
    Bounce:              0 kB
    CommitLimit:  10452296 kB
    Committed_AS: 21157240 kB
    VmallocTotal: 34359738367 kB
    VmallocUsed:     34920 kB
    VmallocChunk: 34359703427 kB
    thanks
    Venkat

  • GWTDOMAIN using lots of swaps space in WLE 4.2!!!

    We are having problem in one our of non- production environments where the GWTDOMAIN is using lots of swap space and not releasing them. It got so bad that the swap space used was 100% and we had to "kill -9" this GWTDOMAIN and bounce it again to to release this space. Is this a known bug and if not what can I do to resolve this problem
    or do we need to open a trouble ticket with BEA to fix.
    Thank for your help.
    Bayo Alege
    Senior Analyst, Systems
    CIMG
    513-723-2954

    Excessive archivelog generation on an EM12c repository database may mean you are hitting bug 14726136. Please see MOS note 1502370.1. I would suggest filing an SR with support to confirm whether or not you are experiencing this bug; they can help you with some additional analysis.

  • Swap space using by oracle

    Can anyone tell me how to check how much of swap space using by oracle on solaris 5.10. Oracle version is 10.2.0.4

    free -m
    above will report how swap is being used, but not broken down by process/user
    I don't know how to obtain swap space by individual user.

  • My program on Solaris 9 uses huge amounts of swap space

    hi,
    i have written a program that uses very little memory but seems to use huge amounts of swap space in increments of 1.4GB. The initial install of the Solaris 9 only allocated 500MB of swap for 4GB of Memory. The swap space has now been increased to 16GB but the program seems to use more swap space.
    The program uses an api to attach to up to 100 agents and (the peice i wrote) registers a callback to handle events from the agents, a small amount of memory is allacated to hold details of each agent but no more.
    Can anyone shed any light on this as this program does run on other platforms with any issues.
    sdarcy7

    are you sure you are release memory, what language are you using?
    you can reboot the system and follow the memory process using vmstat and swap -l, after that run your program only one time, and run the command again so the memory after should be the same that the initial before you run your process, if not , you program is collecting memory and is not releasing it.
    Good luck,
    JoshD

  • Swap space problem on Windows XP

    I'm trying to install BI Publisher on Windows XP from a zip file downloaded last week (version 10.1.3.3.2). However after starting setup.exe in the install directory I get the message that my swap space = 0 Mb while 500 Mb is required. After this the installation procedure quits.
    I haven't got a clue as what the installer is referring to (swap on windows?) but I have plenty of room om my two (logical) disks, no spaces in the directory name from which I start the installer (D:\download\bipublisher\Windows\OBI\install) and about 1.5 Gb of memory free.
    Any hints what to do would be appreciated.
    tia,
    Martin

    Hi Mjb001,
    In computer operating systems that have their main memory divided into pages, paging (sometimes called swapping) is a transfer of pages between main memory and an auxiliary store, such as hard disk drive.[1] Paging is an important part of virtual memory implementation in most contemporary general-purpose operating systems, allowing them to easily use disk storage for data that does not fit into physical RAM. Paging is usually implemented as a task built into the kernel of the operating system.
    Windows 3.x creates a hidden file named 386SPART.PAR or WIN386.SWP for use as a swap file. It is generally found in the root directory, but it may appear elsewhere (typically in the WINDOWS directory). Its size depends on how much swap space the system has (a setting selected by the user under Control Panel → Enhanced under "Virtual Memory"). Please check this file.
    Regards,
    Amit Deshpande
    Persistent Systems Ltd.

  • Problem with swap space

    Hi All,
    Using Oracle 10gR1, Solaris 9.
    prtconf | grep "Memory size"
    Memory size: 16384 Megabytesswap space is 16g
    Pga_aggregate_target = 2G and after checking the v$pga_target_advice, it shows optimal.
    Currently we have a issue of swap space getting used up nearly 100%. The system was out of memory and can't run any application
    Alert logs error;
    ORA-07445: exception encountered: core dump [_aio_free_stack_unlocked()+72] [SIGBUS] [Object specific hardware error] [0xFFFFFFFF7B602000] [] []
    ORA-00600: internal error code, arguments: [ksnpost:ksnigb], [], [], [], [], [], [], []
    ORA-04030: out of process memory when trying to allocate 588408 bytes (pga heap,kco buffer)On checking Metalink note, it said its an unhandled Oracle exception; have to increase the swap space.
    AWR excerpt;
    Cache Sizes (end)
    ~~~~~~~~~~~~~~~~~
                   Buffer Cache:     4,848M      Std Block Size:         8K
               Shared Pool Size:     3,985M          Log Buffer:     1,024K
    Load Profile
    ~~~~~~~~~~~~                            Per Second       Per Transaction
                      Redo size:             63,328.92              2,116.68
                  Logical reads:              4,946.83                165.34
                  Block changes:                257.73                  8.61
                 Physical reads:              1,267.50                 42.36
                Physical writes:                 72.44                  2.42
                     User calls:                385.83                 12.90
                         Parses:                 84.22                  2.81
                    Hard parses:                  0.04                  0.00
                          Sorts:                 10.53                  0.35
                         Logons:                  0.14                  0.00
                       Executes:                211.35                  7.06
                   Transactions:                 29.92
      % Blocks changed per Read:    5.21    Recursive Call %:    13.56
    Rollback per transaction %:    0.29       Rows per Sort:    94.72
    Top 5 Timed Events
    ~~~~~~~~~~~~~~~~~~                                        % Total
    Event                                 Waits    Time (s)   DB Time     Wait Class
    row cache lock                       16,498      45,001     43.44    Concurrency
    log file switch (checkpoint in       30,766      30,281     29.23  Configuration
    db file sequential read           2,873,716      10,796     10.42       User I/O
    buffer busy waits                     8,870       8,718      8.42    Concurrency
    db file parallel write                  421       3,848      3.71     System I/O
              -------------------------------------------------------------On increasing the swap space, and restarting the instance, the system was normal.
    Now why does oracle use up all the swap space and what can be the workaround to avoid this in future?

    Verma wrote:
    Using Oracle 10gR1, Solaris 9.
    swap space is 16gOracle 10gR2 swap space recommendations are:
    - 1 GB - 2 GB = 1.5 times the size of RAM
    - 2 GB - 8 GB = equal to the size of RAM
    - Greater than 8GB = 0.75 times the size of RAM
    Currently we have a issue of swap space getting used up nearly 100%. The system was out of memory and can't run any applicationThat is unusual and should not be happening when you have what seems to be an excess of memory available. This could mean some kind of bug (memory leakage for example), or it could mean plain old fashion abuse of memory. Like PL/SQL code that attempts to bulk fetch a few million rows from the database with a single go.
    On checking Metalink note, it said its an unhandled Oracle exception; have to increase the swap space.Wrong IMO (unless you were not following the recommended swap size factor). If you have have a giant swap area..moving the wall a few meters away (by increasing swap) will only enable you to run faster into it - I doubt that this is the intent of that Metalink note.
    On increasing the swap space, and restarting the instance, the system was normal.
    Now why does oracle use up all the swap space and what can be the workaround to avoid this in future?Oracle only use what is needed to perform the client requests that it receives. If the client request a mountain of data to be moved/processed, Oracle will try to oblige. If that mountain topples and crushes server resources, it is not Oracle that is to blame for trying to do exactly what was requested from it.

Maybe you are looking for

  • ITunes 10.7.0.21 crashes when trying to open any videos.

    I have tried to repair the applicaiton which completed, but did not fix the issue.   Has any one else seen this?

  • Performance: Database Update vs. Application variable

    I am new to ColdFusion, so sorry if this has been covered before. I searched and couldn't find anything similar. I am building an online Texas Hold'em poker application using ColdFusion and Flex. There are quite a few things that need to be stored on

  • Why not using LOCALs in LOOPs ?

    Why avoiding LOCALs in LOOPs? (I saw some posts that suggest it). In my case, I have one button (Stop) and I want to be able to stop the application along 3 different independent loops. How can I do it without locals ? Thanks

  • Gantt Chart in Webdynpro Java

    Hi All, I want to display the Gantt Chart in my Application. I am using following as a reference: [http://help.sap.com/saphelp_nw04/helpdata/en/c6/af11b1423a3c4fb642e357912936e4/frameset.htm] But i am unable to get the Bars in my Chart. I am just get

  • Safari has recently been displaying adverts everytime i open a new window

    Everytime i open a new window in Safari ads are popping up and new windows open automatically. How do i remove this. This those not happen when i use a different browser.