loads of small files are killing my system.

Posted on 2001-06-07
Last Modified: 2010-04-13
I have ten million small files on my system in a complicated directory system. Everything works fine except when deleting files and switching off. It takes about 10 min to delete one tiny file, and half an hour at least to switch the machine off.

I can't avoid having the uncompressed separate files, or tinker about with drive partitions. Does anyone know (a) precisely why this is happening - I assume that Windows is rationalising its file pointer system (b) if there is a windows option that can avoid this, e.g. "Allow inefficient file pointing" or something similar. A different machine, compression or any kind of partition is not an option. Honest.
Question by:MikeThelwall
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 63

Expert Comment

ID: 6164585
Make sure youe have lots of RAM, and that the partiton is NTFS.
Beyond that , check the MS knowledge base !

I hope this helps !

Author Comment

ID: 6177647
Thanks - I've got the max RAM for my sys (512M) & NTFS. Can't find anything on the knowledge base - perhaps I'm not looking in the right place.
LVL 63

Expert Comment

ID: 6177890
OK, 2 more things that might help.

1) Scandisk and Defrag.

You should look up disk keeper defrag for NT, it may help.

2) A faster hard drive or RAID.

I hope this helps !

Accepted Solution

WilliamGates earned 200 total points
ID: 6216434
It sounds like the recycle bin is your problem. When files are 'deleted' they get munged by the recyc bin, which subsequently periodically rationalises itself to delete old files. If you have loads of files in it and it is nearly full, deleting will cause an immediate rationalisation - hence the long delay with many files to process.

The solution is simple, if you can get away with it: disable the recycle bin on any drives that have the small files. Right click on it to get the disable bit.

Author Comment

ID: 6217618
Thanks!!!!! It works like magic, and simple too...

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
This article discusses how to implement server side field validation and display customized error messages to the client.
In a recent question ( here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below.…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question