Re: Explorer Eating Memory When Viewing VERY Large Folders
- From: "Gerry Cornell" <gcjc@xxxxxxxxxxxxxx>
- Date: Sat, 28 Oct 2006 12:39:23 +0100
Alec
Please see inline:
"Alec S." <@> wrote in message
news:uojvVCi%23GHA.3480@xxxxxxxxxxxxxxxxxxxxxxx
Snip
I meant on the disk. When you've got thousands of small files, the slack
space?the unused part of the last cluster of each file?can
add up to quite a bit of wasted space, especially with the larger cluster
sizes that are used these days (8KB clusters are the
minimum for partitions>50GB). Of course I'm talking FAT here, but if I
remember correctly, NTFS has waste as well.
The comments by Alec Nicholl present a balanced view:
Considerations of economy and performance
In a virtual memory system like Windows XP, the ideal size of disk clusters
matches the internal ?page size? used by the Intel processors ? 4 kilobytes.
An NTFS partition of almost any size you are likely to meet will use this,
but it is only used in FAT32 up to an 8 GB partition. Above that, the
cluster size for FAT increases, and the wastefulness of the ?cluster
overhang? grows. (For a table of the varying default cluster sizes used by
FAT16, FAT32, and Win XP?s version of NTFS, for partitions of varying sizes,
click here.)
On the other hand NTFS takes much more space for holding descriptive
information on every file in that file?s own block in the Master File Table
(MFT). This can use quite a large proportion of the disk, though this is
offset by a possibility that the data of a very small file may be stored
entirely in its MFT block. Because NTFS holds significant amounts of these
structures in memory, it places larger demands on memory than does FAT.
Searching directories in NTFS uses a more efficient stucture for its access
to files, so searching a FAT partition is a slower process in big
directories. Scanning the FAT for the pieces of a fragmented file is also
slower. On the other hand, NTFS carries the overhead of maintaining the
?journalized? recovery.
http://aumha.org/win5/a/ntfs.htm
Adrian does not say how his disk is formatted or the size of the disk /
partition. He also does not say whether the folder is on his computer or on
another computer in the network!
If a user is viewing files in a folder and does not close a file
after seeing the contents then this will also waste available memory.
Explorer is pretty bad in the way it handles files. It leaves open
handles, allocated memory, etc. That's why the memory usage of
explorer.exe goes up and up over a session, and files (particularly
graphics files) become locked and cannot be deleted.
Not my forte. Do open handles, allocated memory, etc impact significantly on
system performance when the system does not resort to using virtual save for
specific tasks requiring virtual memory?
snip
I was referring to your question "You could look at your problem from the
opposite direction! Why do I
need to have so many large files?" It may not be up to the user at all;
it is not necessarily the design that the OP has created,
but rather the way that a program they use ships, and they are getting
peeved by the usage caused by the thousands of files that the
program has.
True. Again Adrian does not mention what programme created the files and
unfortunately neither of us thought to ask.
--
Alec S.
news/alec->synetech/cjb/net
--
Regards.
Gerry
~~~~
FCA
Stourport, England
Enquire, plan and execute
~~~~~~~~~~~~~~~~~~~
.
- References:
- Explorer Eating Memory When Viewing VERY Large Folders
- From: BIGGERPLUM
- Re: Explorer Eating Memory When Viewing VERY Large Folders
- From: Betelgeuse
- Re: Explorer Eating Memory When Viewing VERY Large Folders
- From: BIGGERPLUM
- Re: Explorer Eating Memory When Viewing VERY Large Folders
- From: Gerry Cornell
- Re: Explorer Eating Memory When Viewing VERY Large Folders
- From: Gerry Cornell
- Explorer Eating Memory When Viewing VERY Large Folders
- Prev by Date: Re: Internet Explorer has encountered a problem and needs to close
- Next by Date: Re: windows xp shutting down error
- Previous by thread: Re: Explorer Eating Memory When Viewing VERY Large Folders
- Next by thread: Re: Won't boot up
- Index(es):
Relevant Pages
|