Yosemite 10.10.1 - File cache

Hi,
I've just installed Yosemite 10.10.1 on my MBP 2011 and the File Cache keeps "eating" my RAM memory while only 4 to 5 app are open.
Does anyone have the same issue? Any recommendation?
Thanks.
Bertil

I have same problem on iMac (20 inch , early 2008) Memory 4GB.
You most likely do not have the same problem.  You should start your own new post and not threadjack wbertil's discussion.
If you are using too much virtual memory that would indicate Apps that either have a memory leak or you are running apps that want more RAM than you have available to give.
There is a known issue with Apple Mail when using attachments where it can go crazy and consume huge amounts of virtual memory.
You might also consider running EtreCheck and removing most of the 3rd party additions listed unless you absolutely need them.  Especially anti-malware, automatic cleaning utilities, etc... as they tend to actually hurt your performance, not help.
<https://discussions.apple.com/docs/DOC-6174>
If Apple Mail is 'not' your virtual memory issue, then try booting into Safe Mode and see if that improves things.  Safe Mode will 'not' load any of the 3rd party stuff you have installed, and if things improve, it is a strong indication that one or more of those 3rd party additions are causing your issues.
<http://support.apple.com/kb/ht1564> 

Similar Messages

  • MacBook Pro/Yosemite - Limit File Cache Size?

    I have a mid-2012 macbook pro delivered with 4 Gb Ram and Mountain Lion.
    I have since successfully upgraded to Maverick then Yosemite. At each upgrade I noticed that the machine seemed to run slower, and after installing "Memory Clean" from Apple apps website it dawned on me that my 4 Gb Ram was being eaten up by the system and caching. I have upgraded to 8Gb Ram and things are much better, but I regularly have to clean out the memory because the File Cache will constantly grow without limits! Is there an option to limit caching I can set??

    Remove Memory Clean and let your Mac manage its own Ram. It knows how to do it far better than Memory Clean (or you) do.
    Cleaning out the memory simply slows down the Mac until it has been refilled, over and over again.

  • HELP! File cache Maxed out at startup

    Hello everyone, I have used this forum to answer my everyday questions but I have not found the answer to this question. As of late my Mac's file cache gets maxed out instantly. I have 32GB of RAM and near 28GB gets used up in the file cache. I try using memory cleaner and the file cache will not delete. I have to use the terminal command "sudo purge" to delta the file cache. Just yesterday, I started up my mac and 27GB was already in use in the file cache.
    I recently installed Lightroom 5.7.1 and Camera Raw 8.7. And the problems have started since I installed one of these apps.

    Un-install Memory Cleaner and let the OS handle memory. It does a better job. Un-install using the developers instructions.
    Try a restart.
    Do a backup, using either Time Machine or a cloning program, to ensure files/data can be recovered. Two backups are better than one.
    Try setting up another admin user account to see if the same problem continues. If Back-to-My Mac is selected in System Preferences, the Guest account will not work. The intent is to see if it is specific to one account or a system wide problem. This account can be deleted later.
    Isolating an issue by using another user account
    Try booting into the Safe Mode using your normal account.  Disconnect all peripherals except those needed for the test. Shut down the computer and then power it back up after waiting 10 seconds. Immediately after hearing the startup chime, hold down the shift key and continue to hold it until the gray Apple icon and a progress bar appear and again when you log in. The boot up is significantly slower than normal. This will reset some caches, forces a directory check, and disables all startup and login items, among other things. When you reboot normally, the initial reboot may be slower than normal. If the system operates normally, there may be 3rd party applications which are causing a problem. Try deleting/disabling the third party applications after a restart by using the application un-installer. For each disable/delete, you will need to restart if you don’t do them all at once.
    Safe Mode - Mavericks   also Yosemite
    Safe Mode - About

  • How to Move Offline Files Cache in Windows 7?

    I'm using the offline files feature in Win7 (much better implementation, btw - kudos!) and I've run into a problem:  the CSC is using up all the drive space on C:\.  I'd like to move the CSC to D:\, however I've been unable to do so.
    I've seen this posted here previously (2/2009), however the response was to follow the instructions from Vista (using migwiz.exe).  When I launch migwiz.exe, I have no option of selecting the offline files as outlined in the Vista instructions (http://blogs.technet.com/filecab/archive/2006/12/12/moving-the-offline-files-cache-in-windows-vista.aspx).
    Are there any other ways of doing this?
    Thanks!

    Hi everyone,
    I have found a way to move the offline cache in W7, but it means you have to reset your existing offline files, give the new location, and resync the folders in the new location.
    Here is what to do (if you haven't synchronised any offline files yet, for exemple after a clean install, you can start directly in step 3):
    0) Make sure your existing offline files are synchronised with the server, as you are going to lose ALL the offline copies and you don't want to lose any new/modified files. Make a backup if you're not sure and if the files are important.
    1) reset the content of the old cache by adding the following command in a batch file and running it (of course you can add the parameter in the registry manually, but it's quite handy to have the batch ready whenever you need to reset the cache):
    REG ADD "HKLM\System\CurrentControlSet\Services\CSC\Parameters" /v FormatDatabase /t REG_DWORD /d 1 /f
    2) Reboot, the added key will be detected, all the content of the cache will be deleted, as well as the key itself (it only resets once)
    3) Add the following registry key in the same HKLM\System\CurrentControlSet\Services\CSC\Parameters section of the registry:
    Type: REG SZ (string)
    Name: CacheLocation
    Value: the new location in NT format, ie \??\d:\csc if you want to create the new cache in d:\csc
    4) Create the folder in the new location
    5) Reboot (not sure if it's necessary, but better safe than sorry)
    6) Reselect the files/folders you want to sync offline, and they should sync in the new location.
    7) If you want to, you can delete the old cache location in c:\windows\csc by following the end of the vista procedure linked in the first post (using takeown etc)
    It worked for me (Win7 RTM x86), let us know if it works for you...
    Obviously it won't help if you don't want to / can't resynchronise, but if you're starting from scratch or don't mind resyncing from scratch, it's a good workaround.
    EDIT: if you sync a lot of files and get a lot of errors, try to reset your offline files again following the above procedure (steps 1-2), disable offline files, reboot, enable offline files, reboot, and resync your files. Again, it worked for me...

  • How do i set system preferences to delete file cache that is not being used

    My file cache is using over a GB of memory.  How do i set the system to free up memory that is being held but not used?

    It's normal since Mavericks for almost all memory to be in use, either by applications or by the file cache. That's what you should want, since unused memory is going to waste. The relevant measure of whether memory is in short supply is what Apple calls "memory pressure."
    Apple's explanation of memory pressure is here. If you want a more detailed, technical description, see here, and for the source code, see here.

  • Windows 8.1 Client Side Caching - Is it possible to specify the location of the offline file cache?

    Hi,
    Is there any approved way to change the location of the offline files cache in Windows 8.1?  I'm asking before moving client systems from Windows 7 where a registry change was required - is this still the way to go?
    I believe that if the default user-profile directory is moved, this causes problems for updates to Windows 8/8.1 now, is the same true if you move CSC?
    Just a bit of background.  The systems I want to do this for have smallish SSD boot drives with a higher capacity spinning disk.  The machines are members of a domain with Folder Redirection setup.  I could setup group policies to disable
    caching of some of the larger directories or even disable CSC entirely on the machines which have an SSD boot drive, but would prefer not to do so.
    Thanks in advance.

    Hi,
    According to your descryption, In windows 7, the tool is migwiz.exe, namely the Windows Easy Transfer, you can modify the registry in the way listed in the post below:
    http://social.technet.microsoft.com/Forums/en-US/bbf5890c-b3d7-4b38-83d8-d9a5e025fb2b/how-to-move-clientside-caching-to-a-new-location?forum=w7itproinstall
    In Windows 8, Windows easy transfer is also a built in tool to migrate user profiles and user settings, but as for the offline transfer, I suggest to use the USMT for your situation.
    Because with USMT you can specify the folder that you want to migrate the files to, by using an offline.xml you can set the path just as the sample listed below:
    <offline>
         <winDir>
              <path>C:\Windows</path>
              <path>D:\Windows</path>
              <path>E:\</path>
         </winDir>
         <failOnMultipleWinDir>1</failOnMultipleWinDir>
    </offline>
    You can also refer t othe details at:
    http://technet.microsoft.com/en-us/library/hh824880.aspx
    Regards
    Wade Liu
    TechNet Community Support

  • File Cache taking too much RAM

    I have been using Memory Clean to run when our family users log in and out to refresh RAM. Lately, I have noticed that our 8GB of RAM has been going down to between 10MB & 25MB often even with one user logged in and fairly inactive. File Cache is the culprit increasing shortly after login. Someone must have changed a memory allocation setting or something, but I cannot find a solution in Preferences.
    Any ideas?

    It's normal in Mavericks for all or almost all memory to be used by applications and the operating system. That's what you would want, since unused memory is going to waste. The relevant measure of whether memory is in short supply is "memory pressure." Apple's explanation of memory pressure is here. If you want a more detailed, technical description, see here.

  • File Cache Issue

    File Cache is eating up all my memory. I do run "purge" command to clean this up, but this is taking up all the memory vey often. This started happening after the Mavericks Upgrade.
    One doubt I have on this usage is: Have a program that reads and writes files for every minute. Not sure, this is what is taking all the File Cache since I create and read those files too often.
    Any suggestions to disable or limit the File Cache is welcome

    Any ideas, how I can solve this.
    I am trying to run the purge as a cron and purge is not working in cron
    Donno why purge doesn't work in cron ?

  • How to clear file cache (or buffer cache?) in the system

    i found that after copying a large file, say >200M the system's memory drop 200M exactly until i delete the file. it is suspected that the memory is used for file cache.
    After installing memtool, the prtmem command shows the following:
    Total memory: 983 Megabytes
    Kernel Memory: 106 Megabytes
    Application: 193 Megabytes
    Executable & libs: 40 Megabytes
    File Cache: 495 Megabytes
    Free, file cache: 60 Megabytes
    Free, free: 87 Megabytes
    It shows that nearly 500M of system's memory is used for file cache.
    The temporary solution i use now is to copy a large file, say 300M, and delete that file.
    eg
    cp temp1.txt temp2.txt
    rm temp2.txtAnd then most of the file cache will be freed out.
    is there any way to release this file cache?
    I've checked the system use the default value for the bufhwm parameter. ie, about 20M. however, as i know, this bufhwm parameter is related to buffer cache. is it really related to file cache?

    To answer your question directly - delete the file or unmount the file system.
    To answer your question indirectly - You are worrying about the wrong thing here. Also the buffer cache is slightly different the file system page cache. The file system page cache is behaving exactly as it should as is the virtual memory subsystem. When a system is operating for some period of time, the amount of free memory will always drop towards LOTSFREE and, if allowed, stay right above LOTSFREE - forever - if the work behavior of the machine stays about the same. This is usually because of the file system page cache.
    Its nothing to worry about. Actually you want that to happen. Otherwise your disks would be getting the crap kicked out of them all the time.

  • Data File Cache / Data Cache

    I have a few Questions regarding Data File cache and data cache. based on teh size of the application.
    All the settings are changed by using a maxl script.
    1. Data File cache-50MB,Data Cache - 100MB
    I am using Buffered I/O, then will memory be allocated to Data File cache?
    2. It is given in DBAG that data cache & index cache should be set as small as
    possbile for both buffered & Direct I/O. The size of one of my application is
    around 11 GB. data file :11GB,index File :450MB
    I have set my index cache to 450MB and data cache to 700MB.
    Is it OK or a. what should be my data cache size?
    b. How do I calculate the optimal Data cache and index cache?
    3. the memory size of our AIX server is 6GB. If i use Directo I/O, can my sum of
    all caches be 4GB?
    4. If I use buffered I/O, according to (2), what should be my cache sizes?
    Thanks
    Amarnath

    In the DBAG it states data file cache is not used with buffered IO so the answere to 1) should be NO.
    For 2) there is a hint in the DBAG that you should check the hit ratio of the caches to verify sizing, only calculatory advice for sizing is given on the calulator cache :-( This would mean for 2b) look at the hit ration if it stays around 1.0 try to decrease it until it drops slightly. Inspect the ratios from time to time.
    3) don't know, 64bit should be no problem. But why would you do this anyway?
    Example form our settings pag total ~20GB ind ~2GB
    outline hat 11 dimensions with a block size of ~340KB largest dense ~400 members, largest sparse ~4000 members, existing blocks ~2.7 milions
    The data cache is set to 256 MB, the index cache to 64MB our hit ratios are 1.0 for index cache and 0.77 for data chache. so our data cache could be larger, but the performace of retrievals is around 3.0 seconds which is fine for our users..
    4) Check your hit ratios and try to increase or decrease the cahces in small steps (first I'd do the index cache, the if it's fine I'd tune the data cache).
    hope it helped a bit..

  • Why does my MBP have such a huge Memory File Cache?

    My avaiable RAM keeps getting very low (<25 MB) and the Memeory File Cache is huge (5-6 GB). I have to run the Memory Cleaner several times just to get avaiable RAM back to 4-6 GB!

    Normal in Mavericks. Delete "Memory Cleaner," which is worthless.

  • Why So Much RAM Going to "File Cache"

    Hi,
    I seemed to be maxing out my RAM in my 5,1 Mac Pro when I had Adobe Lightroom, PhotoShop, and DxO's OpticsPro 10 open, which are the 3 apps I use in tandem quite a bit. So, I bought 8 GB's more RAM (not a great deal but as much as I can afford at the moment), popped it in on Saturday, and was happy to see that I seemed to have plenty of RAM when the 3 apps were open. By the end of yesterday, however, almost all of my RAM was being chewed up. I opened Activity Monitor this morning and saw that almost 12 GB is being used up by "File Cache". Is this normal? Right now - after installing the 8GB's and after 1.5 days almost being back to where I was before I bought the additional memory, it feels like I'm in a Memory Black Hole. Any insight?
    Thanks,
    Robert

    Yes. OS X uses the file cache to store frequently used code and files in order to make the computer run a little bit faster instead of spending a lot of time loading and unloading data from disk. It improves memory management. It's a good thing.
    About OS X Memory Management and Usage
    Using Activity Monitor to read System Memory & determine how much RAM is used
    OS X Mavericks- About Activity Monitor
    Understanding top output in the Terminal
    The amount of available RAM for applications is the sum of Free RAM and Inactive RAM. This will change as applications are opened and closed or change from active to inactive status. The Swap figure represents an estimate of the total amount of swap space required for VM if used, but does not necessarily indicate the actual size of the existing swap file. If you are really in need of more RAM that would be indicated by how frequently the system uses VM. If you open the Terminal and run the top command at the prompt you will find information reported on Pageins () and Pageouts (). Pageouts () is the important figure. If the value in the parentheses is 0 (zero) then OS X is not making instantaneous use of VM which means you have adequate physical RAM for the system with the applications you have loaded. If the figure in parentheses is running positive and your hard drive is constantly being used (thrashing) then you need more physical RAM.
    Adding RAM only makes it possible to run more programs concurrently.  It doesn't speed up the computer nor make games run faster.  What it can do is prevent the system from having to use disk-based VM when it runs out of RAM because you are trying to run too many applications concurrently or using applications that are extremely RAM dependent.  It will improve the performance of applications that run mostly in RAM or when loading programs.

  • Activity monitor file cache

    In activity monitor it shows that I have 16GB of physical memory, 12.77 GB used memory, 16GB virtual memory.
    It also shows App memory 1.9GB, FILE CACHE 9.56GB and wired memory 1.31GB.
    My question is in regards to file cache at 9.56GB.  What is file cache and why is it so high?  Does this mean I should install more memory?  I looked file cache up and I think it's memory that has been used but is not being used currently, it's waiting to be used again.  Not sure if that's right though, or what it really means.  Thanks for any help.
    Late 2013 27" iMac, 3.4 GHz i5
    16GB ram
    OSX 10.9.4

    Thank you, that helps.  I'm not super tech savvy, but this is what I took from that article.
    The app memory + wired memory + file cache = memory used.  So since the memory used includes file cache, I'm not really running out of memory as I thought I was.  The file cache is basically RAM on stand by in case it's needed by any app.  God, I hope I got that right!
    The memory pressure on my activity monitor shows green.

  • Implementing a file caching service

    Hi,
    I'm implementing a file caching service following this topic: http://www.javaworld.com/javaworld/jw-07-2001/jw-0720-cache.html
    My question is which object should i cache? (a File or a FileReader/BufferedReader?)
    Thanks and regards,
    Robin,

    I find this solution at the link you posted too much
    overkill. Caching can be done much simpler and more
    efficient. What's also missing here is the use of
    weak references. In addition lazy loading of the
    files is also a plus as the access to files is very
    expensive and loading big files can take a while. If
    you cache files, than cache just the File objects not
    the FileReader or BufferedReader as they can still
    claim resources. Just cache all the File objects you
    need and load the file only if you really need it via
    lazy instantiation of the corresponding data
    containers. Also release the data as soon as possible
    to avoid OutOfMemory or use at least WealReferences
    for the garabage collector to have a chance to
    through them out if memory is low.Sorry, but what good is it to cache the File object? As soon as the data is requested, you would still have to go and look it up.
    (Not that I see too much sense in this file caching anyway, as long as the OP isn't creating a proxy server.)

  • Why do we minimize windows file cache?

    Hi,
    Can anybody please explain why do we minimize the windows file cache?
    help.sap.com has the below lines..
    "The Windows file cache directly competes with SAP programs for physical memory by pushing them out of the memory. Therefore, you should minimize the file cache"
    Can anybody explain what does this exactly mean?
    Thanks,
    Debasis.

    Hi Debasis,
    when I first read your question I thought:
    "This must be a joke-question! Surely nobody who has to deal with highly complex system landscapes like the ones NetWeaver makes necessary would have a real issue with understanding this basic concept!"
    But on the other hand, we all started working in this business with more or less sound knowledge about the technical foundations that influence the systems we work with.
    So, here is my try on this:
    Main memory (in most computers today also known as RAM) is a resource to store data shared among all programs that run on that computer at the same time.
    The SAP NetWeaver workprocesses (disp+work.exe) are such programs. And the Windows filesystem management is also a kind of program in that sense.
    Both of these two programs need RAM to do their work. The more memory they get, the better they can do their work.
    If you decide to install NetWeaver to a computer the documentation developers assumed, that this will be the main use for this computer. For example, they did not expect that you use the same computer as a file- or print server or webserver or server for anything else (although this would be possible).
    Therefore it was decided that, to make the NetWeaver program work best, it would be best to give it as much resources (like RAM) as possible. Obviously this means that these resources have to be taken from other programs, just like the filesystem cache of Windows.
    And there we are: by reducing the file cache of the Windows server we allow other programs (like our NetWeaver) to use more RAM for it's own purposes.
    Usually there are not so much 'file actions' on a server where NetWeaver is running that this is a problem. Most of the data processed in a workprocess is read over the network from the database and stored back to it, so no need to keep a big cache for 'file actions'.
    If your question just refered to the "pushing out of the memory" part, no problem either!
    As you may have realized by know the demand for RAM is large. In fact its so large, that most often it is too expensive to buy as much RAM for a computer as it would be needed to fullfill all the demand.
    Fortunately, not all data stored into the RAM is needed all the time. Actually, most parts of it are not used for most of the time. This characteristic of the demand for RAM opens the opportunity to save parts of the data in the RAM into a file (no, you won't need the filesystem cache for this file ) and thereby make space for other data to be stored in RAM.
    This functionality is also called 'paging' as the data is written to disks in chunks which are called 'pages'.
    Ok, with this faboulous feature we got the option to put more data into the RAM than we actually have installed into our computer, which is really great.
    Unfortunately when we want to access our data again, it has to be loaded back from disk into memory. And for that some other part of the data in RAM needs to be saved to disk first to make space for the data we want to access.
    This 'writing out - reading in' of data takes time. Programs like the workprocesses need to wait until the operating system has done this for them. Until this is done, they can basically do nothing than wait - and so can the users that see a 'hourglass' mousepointer when they called a new transactiom.
    So 'paging' is really bad for the system performance and for the response times of the system.
    Therefore it is usally wanted to keep this paging down on a level where it does not affect the workprocesses too badly.
    And this can only be done by either putting more RAM into the machine or reducing the demand for RAM - which is done e.g. by minimizing the filesystem cache.
    I hope this lengthly explanation helped you to get the idea.
    Best regards,
    Lars

Maybe you are looking for

  • No longer sending emails to Groups

    Help, All of a sudden I can no longer send emails to groups. It says the server is not accepting the email.

  • Problem invoking webservice on weblogic managed server

    Hi Guys, I've created a web service using examples the BEA provides. When I deploy my web service on a ADMIN server it works fine. When I depoly my web service on a managed server, my client cannot find the WSDL file suppose to be located on the a ma

  • How to write to both .csv and binary format files

    Hi, I am very new to labview. I have been given the programme to process measurement data and save the data into .csv format. But the file in .csv format is very large. So on top of the .csv, I would like to save the processed data into another binar

  • Ichat video not working only to one person

    I've read most of the post on "i chat not working"; but has anyone had it to not work only to one individual. This is my case. I can video i chat with my son in FWB FL. with no problem. He has an Apple also. I can take my laptop to his location and v

  • Help, can not be removed

    apple software updater cannot be removed