[Solved] High Memory Usage by Metafile on Windows 2008 R2

Dear All,

Have you seen such type of task manager parameters in any of your server? if please read the below scenario

You can see the memory utilized is 98% and when I went to processes tab I saw as below

But when I tried to sum all processes memory it was not going beyond 50 % so where the memory is getting utilized?

Installed RAMMap.exe of sysinternals and checked

After reading lot on various blogs I came to know metafile is

” Metafile is part of the system cache and consists of NTFS metadata. NTFS metadata includes the MFT as well as the other various NTFS metadata files… In the MFT each file attribute record takes 1KB and each file has at least one attribute record. Add to this the other NTFS metadata files and you can see why the Metafile category can grow quite large on servers with lots of files ”

checked for file type wise disk space utilization and 98 % of E: contains around 228 GB of JPG files

So searched further for ” how to clean / reduce METAfIle size ” and most of blogs where suggesting to install Dynamic Cache Service so tried that also but the service doesn’t work with windows 2008 r2 Web edition.

Now what to do ?

After lots of efforts ….. got the solution

As I have clicked on “Empty System Working Set” the memory utilization started reducing from 98% to………. 48 % J




Prashant Deshpande



Filed under Uncategorized

30 responses to “[Solved] High Memory Usage by Metafile on Windows 2008 R2

  1. Crudeli


    After cleaning metafile by using Empty System Working Set do you keep the memory utilization at 48% ?


    Eric CRUDELI

  2. Thanks it works for me..

  3. Luigi

    Bravo a bestia!

  4. Brian Mills

    Thank you for composing this, it has just saved our phone system which has around 1.5 million call recording files

  5. SachinD

    Thanks…Prashant. it is really helpful…..

  6. Sharanjeet Singh

    You are the man Prashant..saved a lot of time of ours.

  7. Pingback: [Solved] High Memory Usage by Metafile on Windows 2008 R2 | AleWhite

  8. Shsa. ATaa.

    Thank you so much, this really helped me out!

  9. Bobby Boucher

    Does it eventually build right back up to the same size as before?

    thx Prashant

  10. JT

    If there are backup exec backups running, will using rammap cause the backup to fail?

  11. Alex Decarli

    Thanks. Solved my problem with sharepoint+windows and a lot of images.

  12. Vladimir

    Thanks a lot. You saved our prod environment

  13. Gunter Walz

    Thank You very much. it solved my Problems. Great !!

  14. Jerry Fox

    Saved my day. Thanks a lot !

  15. Muhammad Afzaal

    I suddenly have a question.
    can we do this even the production applications are running?
    Thanks in advance.

  16. Vivek

    Thanks for this

    Is there any impact on server functioning or any type loss of data???

  17. Julio

    Thanks… I loved it

  18. iwayak@sandi,co.jp

    Thanks! It’s helpful!

  19. Irene

    RamMap shows Process Private (Active) 9.5GB while Mapped File (Standby) 5GB. What should I click to empty?

  20. NanthaKumar

    i also had same issue and resolved now by emptying system working set.
    What is the permanent fix, As metafile size will keep increase again.

  21. Hi Prashant, where can i find Flushfile.exe

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s