Vista Runs Out of Memory While Copying Files 661
ta bu shi da yu writes "It appears that, incredibly, Vista can run out of memory while copying files. ZDNet is reporting that not only does it run out of memory after copying 16,400+ files, but that 'often there is little indication that file copy operations haven't completed correctly.' Apparently a fix was scheduled for SP1 but didn't make it; there is a hotfix that you must request."
Actual info... (Score:1, Informative)
Vista (Score:2, Informative)
Re:Actual info... (Score:5, Informative)
Re:Just wondering... (Score:4, Informative)
Re:Billy G says (Score:5, Informative)
Re:Actual info... (Score:4, Informative)
OLE mem leak; only affects 'extended attrib' files (Score:5, Informative)
Re:Actual info... (Score:1, Informative)
Re:Actual info... (Score:5, Informative)
Very few files have data streams, so the vast majority of users won't ever see a problem. Kaspersky choses to pollute every single file with a stream, however, which is why systems with it installed exhibit the problem.
Bad summery (Score:5, Informative)
FTA:
Re:I'm a little suspicious (Score:4, Informative)
Re:We *ALL* need to give Microsoft a dope slap (Score:5, Informative)
Likely, they're allocating memory to store file attributes or some such that are not being free'd when done with. Hence running out of memory. If you had coded a day in your life you'd see that.
Tom
Re:Bad summery (Score:3, Informative)
Yes, for Vista it has certainly been a bad summery. The forecast for the upcoming wintery doesn't look so good, either.
Pun-ishments aside, those who RATFA know that the fault is in the Vista kernel, it is consistently triggered by Kapersky, but is also triggered by other software, and by implication it is not consistently repeatable and therefore cannot be easily worked around.
On my WinXP home machine, I routinely copy more than 16,400 files when doing a full data backup to an external drive, which I do two or three nights a week. Even if Vista was perfect in every other way, this would be a show-stopper for me.
Re:Bad summery (Score:5, Informative)
The article does not state clearly wether physical memory is a constraint.
Re:Actual info... (Score:5, Informative)
This is just Yet Another Windows 95 shell bug (yes Vista uses the same shell architecture ported through each version from Win95). It is not the end of support for EAs or ADSes. If anything, it's a belated attempt at better support, done poorly. The shell has always been, IMO, one of the lower quality windows components, especially when it comes to properly interfacing with lower layers. This bug does not surprise me. I've been using robocopy for nontrivial file transfer for a while now.
Re:Maybe this stems from... (Score:5, Informative)
Run -> "cmd" -> del %dir\*.*
It will clear most stuff and you will see error messages fly by... redirect output to a file for later examination if desired.
I use the good old 'del' whenever I know I will be deleting something like 20k files and do not wish to waste time waiting for windows to prepare for that operation... why the heck does Windows need to scan directories to be deleted before deleting them is beyond me, just delete them and be done with it. Same thing for copying, Windows wastes time scanning the source directory for no apparent reason since it won't tell you you have insufficient disk space to complete the operation until the target drive runs out of disk space... or any other errors for that matter, until it runs into them while carrying out the actual operation.
Linux has quirks, so does Windows. Linux has the excuse of being an relatively immature desktop OS but on the Windows side, it can only be written off as the result of half-ass design decisions.
Re:Maybe this stems from... (Score:3, Informative)
Also, if Windows sees a zero-byte file, it can't handle it. I have to boot Linux and use it to delete the file.
Daily while working with clients I ask myself how anybody could use this garbage on a daily basis. When I reboot into Windows on my dual-boot openSuse/XP machine, I always dread it because I KNOW something is not going to work properly, or something extraneous will have to be done BEFORE I can do what I need to do.
Pathetic OS. Just pathetic.
Re:Billy G says (Score:5, Informative)
No. That was not the problem. The problem was that DOS programs were 16-bit real mode programs. This means that they used 16-bit pointers to refer to memory locations. This is what limits a DOS program to 1 megabyte of memory, not any deficiency in MS-DOS (which it had many of, admittedly). The segmented perversion of 8086 made things even worse by making memory divided into 64kB chunks rather than contiguous.
In any case, as time went on, most DOS programs did move to next-gen hardware, first by using EMS and XMS memory, and later by using DOS extenders to run in 32-bit protected mode. Having fixed screen memory location was never the problem, quite on contrary: it made it possible to access the video card memory directly from protected mode without having to convert a 16-bit pointer from DOS into 32-bit one.
We are talking about unaccelerated graphics card here. The fastest way to use them was to write directly to memory. Going through a system call would not only have been slower, meaning no one would had used it, but required said operating system to contain some kind of graphics driver, which would had taken up precious memory space and therefore hindered every program.
DOS is perfect for what it's designed for - a filing system for two 360 kB diskettes that takes up little memory and doesn't get in your way, and lets you get your program into the memory. Of course a system resulting from these design parameters doesn't work too well in a modern machine with 500 GB hard disk, gigabytes of memory and a dazzling array of extension cards.
And, frankly, I doubt anyone at either IBM nor Microsoft realized that the IBM PC would still be in use, extended beyond nearly all recognition, 26 years later.
Re:Maybe this stems from... (Score:3, Informative)
Re:Maybe this stems from... (Score:3, Informative)
Re:Maybe this stems from... (Score:3, Informative)
From the KB article describing the problem, ie TRFA (where R = Real):
http://support.microsoft.com/kb/942435/en-us [microsoft.com]