Swap file in use after 12 minutes uptime

Hi
I noticed this a little bit of a strange behavior recently. Once I power my Mac up, the amount of free memory is around 1.34 GB, as I don't have many startup items. Then I launch Skype and torrent client (µTorrent or Transmission) and wait about 10-12 minutes - the amount of inactive memory becomes almost half of total, 20-30 MB free, and swap file is already in use. I mean is that normal with total physical RAM of 2 GB? As far as I know the Unused memory is used for apps I quit not to reallocate it once I launch it again. Nothing launched - nothing to keep unused, right? And swap file is in use for a reason I don't quite well understand. I mean I got the idea behind virtual memory, but this behavior is something that haven't been there before. Just in case - I "Erase & Install"-ed the system last week, so it is pretty "clean".
Also the screenshot of my iStat pro widget to illustrate the situation.

Swapping happens because there is more demand for memory than you have, and some modified pages have been sitting idle longer than other pages that are in use.
If you think you have too little memory for the application set you are using, then do the following and find out. Launch Applications -> Utilities -> Terminal and enter the command:
sar -g 60 100
This will tell you the pageout information every 60 seconds for 100 minutes (adjust 60 and 100 to suit your tastes).
If you mostly have zeros or very low numbers, then you do not have a serious memory problem. If you have an occasional burst of pageouts, but the rest of the time it is zero, you do not have a memory problem. However, if you have sustained pageouts, especially when you notice a performance slow down, then you could benefit from more memory, or run applications that are less memory intensive (or if running too many concurrent applications that you are not really using, quit a few).
Programmers tend to write applications that consume as much memory as they like without concern for how much memory you actually have. In some cases they have have development systems with a lot more memory than you do, so they don't even notice that they are consuming a lot of memory. This is speaking as a programmer that started life writting code on 80 column punched cards and running them on systems with 8192 bytes of memory

Similar Messages

  • Swap files shortly after startup

    Hello everyone
    I have a MacBook 13" late 2008, 250g HD, 4g RAM
    I have an unusual problem - within minutes (literally 2 or 3) after starting up the machine and opening my stock apps (Firefox, Thunderbird, Word and iCal), my system spawns 2 or more swap files (128 or 256 megs), despite there being more than 2g RAM still free. I find this unusual as it doesn't make sense to use virtual memory on my hard drive in preference to available RAM.
    The reson that it is actually an issue for me is that Word (Office 11, vers 14.1.4) then becomes unusuable when swap files are present.  It can take 1 minute (timed) between clicking on a Word file and it opening in Word. Closing can take up to 30 seconds. There are no lags when no swap files are present, but the presence of  swap files requires a restart if I need to use Word, and using Word after the restart until the swap files are spawned.
    All software (system and 3rd party) are current.  I have looked in the Console logs but can't find any mention of virtual memory/swap files being spawned.
    Any ideas? After several months, the preferred option is a large hammer into the laptop. It is usable in short bursts only if I have to use Word (and I do have to use Word to be compatible with my contractors etc)
    Any ideas would be appreciated. Zeroing the drive is the absolute last option, and I have installed Lion and the combo updates a number of times, ditto Office 2011. Has anyone else seen this very strange behaviour?

    EJW Tas wrote:
    Interesting result from Activity Monitor is that Spotlight (mds) is using 100m of real memory but 2gigs of VM - I suspect that Spotlight is responsible for the extra swapfiles, perhaps as a result of a corruped index file?
    That is suspicious.
    The structure of Spotlight indexes was changed in Lion; you may have noticed it re-indexed everything when you upgraded.  It actually created a whole new index on every volume, internal and external.  There doesn't seem to be a major problem, but we do see occasions where the index gets corrupted, slowing down other indexing.  This is especially noticeable when the OSX drive is being indexed, and Time Machine is doing a backup, which also needs indexing.  The backup sometimes slows to a crawl, or even a virtual hang, until the OSX volume is done/fixed/excluded.  I wonder if you may have a similar situation here, but affecting the data for some of your apps instead.
    Do you have any other disks connected?  If so, exclude them from indexing temporarily, via System Preferences > Spotlight > Privacy. See what happens after a Restart. 
    If not, or if that doesn't change, do the same with your internal HD.
    That may provide an actual clue!

  • Problem with swap files after reboot.

    Hello
    I have installed Solaris 10 10/09 s10x_u8wos_08a on a Sun Fire X4140.
    The file system is UFS.
    I wish to add more swap space
    I have created these two files under /export/home:
    -rw------T 1 root root 5368709120 Jun 16 10:12 newswap
    -rw------T 1 root root 2147483648 Jun 16 10:38 newswap2
    When I enter swap -a /export/home/newswap, the command succeeds and I can see the additional swapspace with swap -l.
    I have the following configuration in /etc/vfstab
    # cat /etc/vfstab
    #device device mount FS fsck mount mount
    #to mount to fsck point type pass at boot options
    fd - /dev/fd fd - no -
    /proc - /proc proc - no -
    /dev/dsk/c1t5d0s1 - - swap - no -
    /dev/dsk/c1t5d0s0 /dev/rdsk/c1t5d0s0 / ufs 1 no -
    /dev/dsk/c1t5d0s7 /dev/rdsk/c1t5d0s7 /export/home ufs 2 yes -
    /export/home/newswap - - swap - no -
    /export/home/newswap2 - - swap - no -
    /devices - /devices devfs - no -
    sharefs - /etc/dfs/sharetab sharefs - no -
    ctfs - /system/contract ctfs - no -
    objfs - /system/object objfs - no -
    swap - /tmp tmpfs - yes -
    Although it is supposed to work, after reboot, the only mounted swap file is /dev/dsk/c1t5d0s1.
    The two file under /export/home aren't mounted as swap. Why?
    Can anybody give me some help on this issue?
    Thanks

    Actually you don't have to create a dedicated slice/filesystem for swap.
    You can create files and then use them as swap.
    Here is the link from the documentation of Solaris
    http://docs.sun.com/app/docs/doc/817-5093/fsswap-59089?a=view
    My issue is that although I have configured /etc/vfstab according to the documentation, the swap files aren't automatically mounted on boot. I can only mount them as swap manually with swap -a.
    Can anybody help?

  • Is it wise to keep the Nikon camera files "DSC's"  after downloading them and converting to DNG files via Adobe converter for lightroom use. In other words do the DNG files have all the raw data I would ever need in processing or should I save the camera'

    Is it wise to keep the Nikon camera files "DSC's"  after downloading them and converting to DNG files via Adobe converter for lightroom use. In other words do the DNG files have all the raw data I would ever need in processing or should I save the camera's DSC files?

    DNG files do not contain some metadata supplied by the camera, which can be used by the manufacturer's software. Thus, if you don't keep the original Raw photo, you will lose this information.
    If your 1000% sure you're never going to use the manufacturer's software, then this isn't a problem. But who can be sure what software you will be using 10 years from now?

  • HT5824 I've been using numbers for iPad and I accidentally deleted a column. And the auto-save feature saved that and now I can't undo it. Does iCloud storage have backups of saved files from like 10 minutes ago? I have number

    I've been using numbers for iPad and I accidentally deleted a column. And the auto-save feature saved that and now I can't undo it. Does iCloud storage have backups of saved files from like 10 minutes ago? I have numbers synced to iCloud.
    I tried to undo it but the app crashed.
    I am hoping there's like a previously saved version of my file in iCloud somewhere. 

    No, iOS does not do short term incremental back ups to iCloud such as you get with Time Capsule.It backs up when you do soo manually, or if set properly, when the device is plugged in and connected to WiFi. It will not have saved your changes as of 10 minutes prior.

  • HT1751 After "Restoring iTunes Library Backup" it wont link to the files in the iTunes folder. I've followed the correct procedure, and iTunes lists all my music correctly (but with no artwork), but can't locate any of the files. Using Windows 7. Help ple

    After "Restoring iTunes Library backup" it wont link to the files in the iTunes folder. I've followed the procedure as described, and the iTunes folder is in the correct location. iTunes lists all my music correctly (albeit with no artwork), but can't locate any of the files.
    I've been restoring my iTunes folder from a backup hard drive to a new computer on which I've downloaded the latest iTunes (10.7). If this is a newer version than the one I backed up with could this be the problem? (I had the latest (to my knowledge) iTunes when I backed up the folder about 3 weeks ago, was this version 10.7?)
    Or is the version of iTunes (within recent updates) not an issue when restoring a library?
    Using Windows 7.
    Any help please?

    From the top of the page where the scripts live...
    The general method of use is to download the script to a folder of your choice, e.g. your Desktop, Downloads folder or create a folder at ...\iTunes\Scripts. Select a playlist or highlight some tracks in iTunes and then double-click on the script to execute it. If no specific tracks are selected the script will try to work with all tracks in the current playlist. Some scripts offer a choice of track by track confirmation of changes or fully automatic processing of the selection. Many of the scripts can optionally display a progress bar while running.
    You are strongly advised to backup your entire library, or at the very least the iTunes Library.itl file, before use. Test the behaviour of your chosen script on a small group of files first to make sure it does what you want before applying it to large numbers of files.
    Most builds of Windows will execute *.vbs scripts when you double-click them. If that doesn't happen then you might need to visit the Add/Remove Programs or Programs & Features control panel to enable the Windows Scripting Host. I can track down details if you have issues.
    Backing up and restoring data is an area that is often glossed over. Most people don't try to learn much about it until they've lost something important. (Me too )
    If your iTunes library was in the usual layout then normally copying the whole iTunes folder from the User's Music folder in the old computer to the User's Music folder in the new one will usually work fine. Ideally this is done before iTunes is installed so that there is no empty library to replace, and all settings are picked up from the old library. This post contains more details.
    tt2

  • Can't delete a file or folde after using admin. password.

    Can't delete a file or folder after using admin. password.

    Solving Trash Problems...
    http://thexlab.com/faqs/trash.html

  • I back up my files by using back up iphone function.but after i reset

    i back up my files by using "back up iPhone" function.but after i reset and restore from backup for my iphone 4,all my apps were gone.what can i do?i found that the apps in not in itunes sync,how to restore back all my apps?i have not turn off my my imac from whole entire process,but iphone is not connected already.
    please help,thank so much.

    on your iphone - appstore - update - purchased - all/or not on this phone - select either tab, to download app tap on the cloud on the right hand side of the app.

  • How to import WMV file for use in adobe programs, especially After Effects and/or Premier?

    How to import WMV file for use in adobe programs, especially After Effects and/or Premier?

    I have the latest adobe creative cloud and i'm using Mac 10.8.2
    My client gave me a wmv file that she wants some people blurred out in the background but when I go to import the media, it's greyed out. I'm assuming that After Effects will be the best solution for this, but maybe there is another way.
    I can purchase a video converter and convert it to .mov but that costs extra money that I don't want to spend just to do this one project.

  • Decompressing video files using After effects

    Hello!!
    I have a SONY Full HD camcorder that records in an AVCHD format.
    So when I import my clips into my computer's hard drive, they are compressed. That meens that I have to decompress them in order to work with the best quality.
    So, I use After Effects to export the AVCHD clips totaly uncompressed (I export them into none compressed Quicktime files). Then I re-import the uncompressed Quicktime clips into After Effects and start working with them, adding effects, color correction and so on. When I finish, I export them again totally uncompressed, in order to import them to Premiere for the final editting. I do that because I do not own an Adobe production suite so that to use Adobe Link for transfering files from After Effects to Premiere.
    I decompress all my AVCHD clips because I won't need to apply effects to all of them, so some will go straight to Premiere without passing through After effects, since there is no need. So they must be decompressed.
    I have noticed that when I decompressed an AVCHD clip, it got 578 GB from 84GB. So when I re-imported the uncompressed 578 GB clip in After Effects and added some effects and color correction, the final clip got out 392GB, although I chose the uncompressed settings and although I added effects. Normally it should be more than 578 GB.
    Would you happen to know why is that?
    Do you have any other suggestion of how should I decompress my camcorder clips? I have Quicktime but I cannot play AVCHD files, since it is an unsupported format for Quicktime.
    Thank you!!
    Giannis

    After Effects and added some effects and color correction, the final clip got out 392GB, although I chose the uncompressed settings and although I added effects. Normally it should be more than 578 GB.
    The default QT output uses the Animation CoDec, which is a visually lossless compression. No problem here and I think you are overdoing. There is nothing wrong with converting files e.g. to LZW compressed TIFFs, PNG or EXR files, all formats producing much smaller file sizes than QT files and without losing any info...
    Mylenium

  • How do I restore a file to iTunes after I deleted it using Keep File?

    I wanted to shorten the list of visible files in my laptop's iTunes Music folder without losing the actual music.  So I selected Keep File.  Now I want to bring some of that music back. 
    How do I restore a file to iTunes after I deleted it using Keep File?

    Assuming the track file is still there, either use the Add To Library command under the File menu in iTunes and select the tracks you wish to add back into the iTunes library, or find the track files on your hard drive and drag them into the iTunes window.
    Regards.

  • Generate large swap file (Use qtparted to generate partition

    Desire to generate a 30GB swap file in Linux using the full capacity of a hard drive as swap.
    Can this be done with the arch0.5 install CD?
    I assume I must skip the auto feature to do so.  I do not know if the CD program will allow skipping the program install steps and just install lilo.
    Perhaps someone has done a similar thing?

    i3839;
    Thanks for the comments.
    The desired entry is not to hdd but to ram such that all operations take place in ram...no hdd used...no CD orDVD used (except tp start the ram install). 
    While in ram, all video is improved when uncompressed video is entered (.vob for instance) and the result is higher quality and better resolution.
    The basic question is in reference to arch install CD and whether it can be utilized to generate a HDD with just swap (one or more partitions) . 
    My experience with the arch CD indicates it doesn't like the install to skip any steps.  Perhaps I can try a partition install and then abort the rest.  I think it will allow three separate swap (type 82) partitions:  at the least one of 2GB.  Perhaps it is programmed however, to require a root and a boot as well as a swap.
    I suggest you read the previous post which describes the install to ram...called 'toram' in knoppix.  This doesn't use the hdd, just the dvd reader.  It can however utilize a hdd file entered in a dvd install....tohd.. and add the cheat code ...toram..
    The end result is a ram only OS which can utilize USB hotplug devices for entry and storage, turning them off when not in use.
    The present system here has 2.5GB of ram but it is not able to accept the DVD of 2GB when attempting ..toram.   The same ...toram..cheat code is available for the CD version which operates well in ram (only 680MB).  The use of swap to augment ram is recommended.
    Dvd versions have close to 5GB of programs in compressed form in the 2.1GB DVD media.
    I hope this post helps describe the need for the swap a little better.

  • With streaming music files I used to be able to hover over the file with the mouse and see a "Download" option. However, after a recent uninstall and reinstall of FireFox, I no longer see this option. Please help!

    Even with files I used to be able to see the download option with (Quicktime files) I do not see the option when I hover over it with the mouse.

    Which add-ons do you have that say "incompatible with Firefox 5.0"?
    Maybe something like download helper? You need to find an update for that add-on.

  • OS X will not let me delete .mov files, error says "file in use" but files not in use, still happens after restart

    Hi
    I have a folder full of .mov files but can't delete any of them, I get a message "File in use" but it isn't. Have managed to delete using Terminal, but that is a pain. New files have the same problem, have tried unlocking them and restarting the computer, but no joy. Thanks in advance for any help.

    Hello
    you may try this
    - use little app like Onyx download here
    http://www.titanium.free.fr/download.php
    - start from an external system hard drive , then navigate to your file to delete it
    - by luck if you have a second mac and a firewire cable , have a look at
    http://docs.info.apple.com/article.html?path=Mac/10.6/en/8443.html
    Pierre

  • Can the mac osxlion usb jump drive be used after as a external drive for storing media files

    can the mac osxlion usb jump drive be used after as a external drive for storing media files

    If you are talking about the Lion install USB thumb drive sold by Apple then no it can't. it has some specail formatting that makes it show up as a DVD drive and is securely locked from any changes.
    But I must ask why would you want to. That would destroy that drive and wipe out the Lion installer.
    USB thumb drive can be bought for $8.

Maybe you are looking for

  • Server Error in '/drm-web-client' Application?

    Hi, I received the following error when I tried to login to the DRM web client 11.1.2.1 : Could not load file or assembly 'System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system c

  • Can't connect to vpn server

    I am now setting up the vpn server using mac mini with Mac OSX v 10.7 Lion Server. After setting up, I found that I can't make connection. When I check out the console, I find that the vpnd continue assign IP address to the same client and then hungu

  • Camera Connector doesn't work with Nikon DSLR?

    I just got the camera connector, and when I connect it to my Nikon D5200 to directly download photos to my iPhone 5, it tells me my Nikon isn't supported.  If it's just reading an SD card, I don't see how this should be an issue.  Am I just missing t

  • How do I preselect a row in Jtable / JScrollPane?

    Hi I want to preselect and show a row in a table of e.g. 1000 rows. e.g. if I type in a value in a field, I want the table to automatically scroll, and show the row whose 1st column has a value that corresponds closest to what I typed. I tried JTable

  • THERE IS A RUNTIME ERROR WHEN SEARCHING IN THE ITUNES STORE. R6050

    I have windows vista OS. i-tunes 10.6. when searching on the itunes store, there is a Runtime error R6050 and itunes shut down. Anyone can help with this error? I have tried to reinstalled the program already, same problem.