Why is my system swapping memory?

Hi.  I've got 8gb of ram, yet even though my ram usage is never anywhere close to 100%, I still find now and then that my swap is being used.  Why is this?  I find that once I start swapping, performance takes a dump.  If I turn the swap off, all works well.
Why would the system ever use swap if it doesn't need to?  Is there a way to check which processes are using swap?

Pacopag wrote:Is there a way to check which processes are using swap?
I'm sure someone will correct me if I'm wrong, but normal processes do not "use swap" in the way you are implying.  They just request/allocate memory and the kernel moves blocks of data around to swap and back as necessary.
So if swap is being used when it shouldn't be, the kernel is moving things prematurely.  The specific processes that originally allocated that space should not be relevant.
I know next to nothing about this, but you chould look into "swapiness" settings.

Similar Messages

  • Swap memory

    Hi,
    Version :10.2.0.1 and 11.2.0.1
    Os :Aix 5/6
    We often getting swap issues.It reached 95%.we have 120GB real memory and 45 GB swap space.The db size is 2.5TB.Some time the db went to hang state and we restarted the db.
    DB level
    Is it possible to find A QUERY which memory using whether real memory or swap memory?How much amount from it?
    OS level
    Is it possible to find how much memory A PROCESS using from real memory and swap memory?
    Thanks.

    922884 wrote:
    Hi,
    Version :10.2.0.1 and 11.2.0.1
    Os :Aix 5/6
    We often getting swap issues.It reached 95%.we have 120GB real memory and 45 GB swap space.The db size is 2.5TB.Some time the db went to hang state and we restarted the db.
    DB level
    Is it possible to find A QUERY which memory using whether real memory or swap memory?How much amount from it?
    OS level
    Is it possible to find how much memory A PROCESS using from real memory and swap memory?
    Thanks.SWAP is an OS operation & Oracle has NO knowledge about it.
    OS moves "idle" processes to free up RAM.
    do like below & wait for the 1 minute data collection to finish.
    post FORMATTED results using tags
    [code]
    bcm@bcm-laptop:~$ vmstat 6 10
    procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
    r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa
    0  0     24  41488 124584 2292224    0    0    97    39  398  865  8  3 86  2
    0  0     24  37756 124600 2296736    0    0     0    21  794 1825  6  4 89  1
    0  0     24  42804 124616 2296752    0    0     0    19  683 1510  3  2 94  1
    0  0     24  43060 124624 2296756    0    0     0    18  738 1669  4  2 94  1
    0  0     24  43316 124640 2296760    0    0     0    21  732 1641  4  2 93  1
    0  0     24  44564 124656 2296768    0    0     0    16  642 1376  3  1 95  1
    0  0     24  44564 124684 2296760    0    0     0    63  686 1524  2  2 95  1
    0  0     24  39464 124828 2296780    0    0    22    31  695 1536  4  3 93  1
    0  0     24  39464 124844 2296796    0    0     0    27  696 1577  4  2 93  1
    0  0     24  39340 124860 2296796    0    0     1    26  781 1784  6  3 90  1
    [/code]
    (si+so) should be less than (bi+bo)
    Handle:      922884 
    Status Level:      Newbie
    Registered:      Mar 22, 2012
    Total Posts:      44
    Total Questions:      22 (16 unresolved)
    Why so many unanswered questions?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Swap memory & CPU rules

    Hi people,
    I need the requirements for choice the amount of CPU and type, and the rule to calculate the amount of swap memory of productive system. The amount of physical memory is 12 GB RAM.
    In the installation guide says that PHYSICAL MEMORY+ 14 GB= Swap memory. Is this avalaible for productive system.
    More thanks.

    Ruben this is quite a frequently asked quetion...
    Basically if your system is Unix based the thumb rule is that SWAP should be 3 times your physical memory (been 12 gb it shouldn't be much of an issue). In windows 64bit usually 20Gb of swap (pagefile) is enough for most installations
    There is info at help.sap.com about this.
    Regards
    Juan
    BTW, why won't you trust the info on the installation guide?

  • How to Re Enable Swap Memory on Osx 10.9.2

    Hi
    Need help in to renable the Swap Memory on Osx 10.9.2.

    You can test your memory system in terminal, open terminal (use spotlight to find it or go to utility folder in applications) and issue the following command, watch your activity monitor while it runs, when you've had enough, hit Control-C in the terminal window.
    sudo memory_pressure -l warning
    watch your pressure rise then hit
    control-C

  • Netweaver performance swap memory

    Hello,
    I run Netweaver 7 BI on Windows 2003 Server X64. I have 8 Gb of Memory.
    After few minutes, Windows swaps :  jlaunch using 4 GB of swap memory and kernel 3gb of swap memory.
    This causes to slow down when accessing to SAP.
    Any ideas to optimize this ?
    Regards,
    Chea-Lie

    Hello Heng,
    Greetings!
    The main problem is SAP uses its memory parameters to maintain the buffers and these buffers are maintained by the profile parameters.
    To find which of these buffers are low you will have to ST02 transaction and find the ones which have much swaps. SAP memory is classified into many varieties like ABAP program buffer, Screen Buffer, Table Buffer, Calendar..etc.
    Double click on each of the buffers and find the current parameters from the button provided on the corresponding page. Search for SAP notes that could give you details on profile parameter maintenance for increased performance. Also find out whether the SAP ABAP system shows a low performance only when some of the user defined programs are running.
    Maintaining the correct profile parameter values providing suitable buffer space for the SAP system could optimize the server performance issues.
    For the Java system, I think you are not deploying any packages through Jlaunch. Also check the Virtual Memory of the SAP server, you would require a minimum of 20GB virtual memory for the normal performance of a SAP server with ABAP and Java instances. You also have memory parameters to be maintained for the J2EE engine.
    Award points if the suggestion was useful.
    Thank you
    Regards,
    Vineeth

  • Increase swap memory

    Hi guys,
    I'm trying to run some strain calculations but my PC keeps running out of memory (first the RAM (4gb) and after that the swap memory (1GB), checked it with free). I know that for these particular calculations <8GB of memory should suffice. Does anybody know how to increase the swap memory from 1GB to 4GB without reinstalling arch linux?   
    Cheers,
    Joris
    Last edited by keizer (2010-04-10 23:00:14)

    1) replace swap with swapfile
    http://wiki.archlinux.org/index.php/Swap
    2) set properly swappiness:
    vm.swappiness = 100
    number corresponds to % of swap than can be used
    set
    vm.vfs_cache_pressure=500
    you can adjust these settings permanently via /etc/sysctl.conf or temporarily:
    sysctl -w vm.swappiness="100"
    these settings will not affect system performance if RAM memory is not exhausted but will help if swap is needed.

  • MBP retina swap memory/humming issue

    So i have 2 issues(may or may not be related) going on with my Retina MPB.
    1. Whenever i play any flash video(youtube for ex:), it just goes crazy with humming sound(fan I imagine), even though it doesn't get hot and temps are within acceptable range. I don't see the process(chrome flash plugin) taking more than 15 to 20% cpu at max...and memory is acceptable as well, but this sound just keep fluctuating and can't figure out why exactly.
    2. Mayb this is related to 1, but why does a machine with 16GB ram use 2.2 of swap memory? or I am reading activity monitor wrong?
    http://cl.ly/image/2O3O381l111v (Screenshot of activity monitor)
    Any thoughts?
    thanks

    You can check if some or other corner inside is overheating with Marcel Bresink's free Temperature Monitor. Or splurge a bit on his Hardware Monitor so you can check on temps, fans and the works. http://www.bresink.de/products.html
    The use of swap on a user-class computer with 16GB RAM is indeed odd. I've been using mine all week long, running VMs on Fusion, all of Office's apps, browsers, whathaveyou, and swap still remains at zero. Only time I saw some swap space allocated was when I ran Gimp, that insists on swapping explicitly to disk, even if it is just editing a piddly 80k JPEG. But even then, the swap area allocated was just a few tens of MB's, nothing like that huge 2GB area. Besides Flash, care to share what else is running in there?

  • System failed memory test

    I am really new to Solaris so please forgive me if I sound really dumb. I was able to install Solaris 10, turned off my computer and now all I recieve is System failed memory test. Please help have tried different memory sticks and still recieve the same message.

    is this a bios message? id suggest running a mem test if this is coming before the os starts up [http://www.memtest.org/]
    if you have the mother board diag tools on cd, run those as well. unless this is a sparc system?

  • I want to ask something about firefox. why firefox use very much memory? can you develop to reduce memory comsume? this problem is very distrub in my PC with low memory.

    I want to ask something about firefox.
    why firefox use very much memory?
    can you develop to reduce memory comsume?
    this problem is very distrub in my PC with low memory.
    == This happened ==
    Every time Firefox opened

    How much memory is Firefox using right now?
    # Press '''CTRL+SHIFT+ESC''' to load the Task Manager window
    # Click the Processes tab at the top. (Click once near the top of the window if you don't see tab
    # Find firefox.exe, and see how many kilobytes of memory it's using.
    Showing around 80MB when Firefox first starts is normal. Right now, I have 75 tabs open and it's using 500MB - this varies a lot depending on what you have in the tabs.
    Other than high memory usage, what other problems are you experiencing? (Examples include slowness, high CPU usage, and failure to load certain sites)
    Many of these issues, including high memory usage, can be caused by misbehaving add-ons. To see if this is the case, try the steps at [[Troubleshooting extensions and themes]]. Outdated plugins are another cause of this issue - you can check for this at http://www.mozilla.com/plugincheck

  • Why does the system chime sound whenever I open Reader 11 of a pdf document?

    Why does the system chime sound whenever I open Reader 11 or a pdf document?

    Don't know. You can turn system sounds OFF in your control panel. XP it's under Sounds, Vista, 7 & 8 it's under Hardware and Sound.
    Click Change system sounds
    Select "No Sounds" to disable all windows interface sounds.
    Click Apply and OK

  • Dreamweaver CC 2014.1 won't launch - system application memory full OSX

    Running on Mac OS 10.10.2
    16 GB memory
    After I try launching Dreamweaver, a warning about system application memory full forces me to quit Dreamweaver.
    I've tried uninstalling Dreamweaver from CC and reinstalling, deleting my Dreamweaver preferences, restarting computer - all to NO avail.
    Please help.

    Update: Appears to be working again - Updated Java to 8, uninstalled Dreamweaver CC 2014.1 (also deleted permissions), restarted computer, reinstalled Dreamweaver CC 2014.1, and now it finally works again.

  • Why doesn't  System Information.App provide battery serial?

    Why doesn't  System Information.App provide battery serial? Even /usr/sbin/system_profiler -detailLevel full doesn't show the battery serial.
    When I open System Information.App I get this output. Serial number ist not even displayed:

    I did now try some system tools. They don't show the battery serial, too. I think, they rely on the system profiler's informations and therefore get no data.
    When was this feature removed from OS X? According to posts on the internet the battery serial was show up to 10.6 but I never read about the App showing it on 10.7. What about 10.8 users? Do you see the battery serial?

  • How to restore system RAM memory when i run DI batch job process

    How to restore system RAM memory when i run DI batch job process
    I use SAP-B12005SP53 and i develop with Business Partner Object

    HI ALL
    TAKE CARE: Nothing was working in VB6, but in .NET it sets the default value !
    from help of VS.
    When you assign Nothing to an object variable, it no longer refers to any object instance. If the variable had previously referred to an instance, setting it to Nothing does not terminate the instance itself. The instance is terminated, and the memory and system resources associated with it are released, only after the garbage collector (GC) detects that there are no active references remaining.
    Garbage Collector distroyes the objects at the end of the sub of function, not in the loop.
    So use local variables when you loading the 7000 items. For me working fine and i do not have a memory problems. I am loading 50000 items with prices from EDI file, and memory usage stops at 120MB.
    1st solution  create a sub or a function to populate the data, and run this for every items by as single rutin,
      sub x
        Dim obj As New Object()
            Try
    ... put here your update code
            Catch ex As Exception
            Finally
                GC.Collect()
            End Try
      end sub
    This free up the memory when Garbage
    2nd solution: use inner loop definition
      sub x
    Try
                Do While True
                    Dim obj As New Object()
                Loop
            Catch ex As Exception
            Finally
                GC.Collect()
            End Try
      end sub
    This free up the memory inside the loop.
    I recommend to use Friend Class keyword for your addon declaration and do not use modules.
    Modules and shared classes will be free up the memory when your program terminates execution.
    For more information see MSDN help http://msdn.microsoft.com/en-us/library/7ee5a7s1(VS.80).aspx
    and http://msdn.microsoft.com/en-us/library/0x9tb07z(VS.80).aspx
    Regards,
    J
    Edited by: János Nagy on Oct 15, 2009 2:17 PM

  • I downloaded Adobe Flash 7 times.... why does my system keep asking for it?

    I downloaded Adobe Flash 7 times.... why does my system keep asking for it?

    Read Before Posting: How To Get A Useful Answer To Your Question

  • T500 with intel gma 4500mhd, increase system video memory

    Hi,
    I'm curious if there is a way, to increase my system video memory from the default 96mb, to 128mb or more, sience I still have 1155mb shared system memory. In a few case I would prefer more than 96, but there no increase option in bios nor in the driver settings.
    Lenovo IdeaPad Miix 2 8

    I'm testing win7 now, and I've got a good reason to think (or I'm almost sure), that the default 92mb vram (32 dedicated + 64 shared) in't enought however I can't allocate manually more shared memory to the vga.
    With the default w7 driver, the OS dosen't get any of the shared memory (so the system is running only with the dedicated 32mb), most likely because of that the display becomes choppy/dizzy like this. If I update the driver with the vista driver the vga gets 96 mb vram and this crahes greatly decreasing. After I switch to the classic win theme, they almost gone, exept if I playing videos with DXVA acceleration or 720/1080p movies.
    But I'm about to give this up, I've search the internet for a whole day, but didin't  find any way, to overdirve the driver settings.
    Lenovo IdeaPad Miix 2 8

Maybe you are looking for

  • Runtime error in production server

    Hi experts, I have designed one report.In that report 3 includes are there. I excuted this report in quality server it is working fine. When this report is executing in production server it is giving error "INCLUDE YP_AAAA NOT FOUND". Why it is comin

  • Slow Wireless Problem

    After I updated OSX 10.6, my internet becomes extremely slow. Since it is too slow, I cannot open any web page. However, my other computer, which is using window, has good internet speed. Also, my ipod has no problem. When I go to near my router, my

  • Unable to select a file

    I am not sure what I am doing wrong, but when I create a Word file and then save it in documents, when I go to select it to email it to someone, it will not let me select the file. Does anyone no what I am doing wrong? Thanks, Randy

  • Advice on inserting data at parent level

    Hi experts, I would need some advice on how can I enter data at parent level. As we cannot enter data at parent level I am figuring out different strategies to do so. The one I seem to like the most is to create members representing the parents where

  • Warp Stabilizer

    Hello, I just bought a new workstation to optimize my work and the Warp Stabilize Effect take the same time ( 10 minutes)  to analyse the background as my old workstation no graphic card inside ( Lenovo i5). Is it normal? 6 Core i7-4930K @ Turbo Boos