Vista Runs Out of Memory While Copying Files
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."
the box I "make use of" has just 15,000 mp3s...
They who would give up an essential liberty for temporary security, deserve neither liberty or security - Ben Franklin
16k files should be enough for everybody.
At the end, there will be free therapy. And Cake!
Physics is nothing like religion. If it was, we'd have an easier time trying to raise money!
And that is one of many reasons we are all still running XP
Copyright 2010. All rights reserved. This comment may not be copied in any way including, but not limited to caching.
...occurs when a Vista user (running Kaspersky Anti Virus 6 or 7) tries to copy a large number of files (~16,400). So if you're like most people in the world, and have never touched Kaspersky AV (or Vista, for that matter), then this is a non-issue.When I copy a bunch of files from one directory to another, I get 'Explorer has stopped working and must restart'. I've resorted to using DOS to copy the files. I wish I had stuck with 2000 Server :)
See my journal for slashdot ID's by year. Mine created in 2005. http://slashdot.org/journal/289875/slashdot-ids-by-year
Isn't it a little odd that if you strip off the first and last digits of the number "16,400", it's 640, as in 'no one needs more than 640k"?
Start a happiness pandemic
M$ is scared that people will try to copy their documents to another computer before reverting back to XP. Smart, very smart Micro$oft! On a tech note, what kind of number is 14,600? I would have thought 16,384 would be better.
void r() { printf("recursion is "); r(); }
I was thinking "big deal", who copies that many files at once?
Then I read it's cumulative between reboots! I can imagine this will hit many servers that have any kind of auto-copy job they do on a schedule.
I don't want to start a holy war here, but what is the deal with you Vista fanatics? I've been sitting here at my freelance gig in front of a Vista PC (an Intel Core 2 Duo w/4 gigs of RAM) for about 20 minutes now while it attempts to copy a 17 Meg file from one folder on the hard drive to another folder. 20 minutes. At home, on my ancient Mac running OS 9, which by all standards should be a lot slower than this Vista PC, the same operation would take about 2 minutes. If that.
In addition, during this file transfer, Firefox will not work. And everything else has ground to a halt. Even Notepad is straining to keep up as I type this.
I won't bore you with the laundry list of other problems that I've encountered while working on various Vista PCs, but suffice it to say there have been many, not the least of which is I've never seen a Vista PC that has run faster than its Mac OSX counterpart, despite the Vista PC's same chip architecture. My 286/12 with 2 megs of ram runs faster than this 2.4ghz mhz machine at times. From a productivity standpoint, I don't get how people can claim that Vista is a superior operating system.
Vista lovers, flame me if you'd like, but I'd rather hear some intelligent reasons why anyone would choose to use Vista over other faster, cheaper, more stable systems.
they can only send 16,000 files to the RIAA and MPAA to check, at once.
... the exact number is 16384 ?
No, it stems from the "16,400 is more than what you'll ever need" argument.
~ In Trust, We Trust ~
How much Ram does Vista POS DRM System need??
Why did you switch from a server class version to a desktop version of an operating system? Sounds like a bad choice in the first place.
If you want news from today, you have to come back tomorrow.
Oh, the fools! If only they'd built it to let you copy 16,401 files!
It's a feature!
Maybe you're backing up to an external hard drive?
I don't think your average user would do this.
I have learned that copying files using the UI in Vista is a very painful thing to do - even if you don't have 16K+ files.
Heaven forbid you ever extract files from a cab you found on the internet - it will ask you for confirmation for every single file, without the option of 'yes for all'.
Just about everyone is.
Running with Linux for over 20 years!
where in those two quotes, or tfa does it say "only when running kaspersky"?
Yes It will. It is called 'do the same for all files' or something similar. Apparently the old style confirmation was too simple.
See my journal for slashdot ID's by year. Mine created in 2005. http://slashdot.org/journal/289875/slashdot-ids-by-year
I just recently moved over 20,000 files from one drive to another, both drives are SATA drives (using Vista Enterprise, Japanese version) and I didn't have a problem...I assume that this bug was found on English Vista.....anyone else using another region's Vista have this problem?
I want an OS that lets me re-organize my pr0n anytime I want. I *need* to be able to select 50K-100K files at a time and move them from place to place without slowdowns. Ever try, in Windows, to search your network for all the *.jpg files, select a few hundred thousand of them in the search window, and drag them to the new firewire disk you just plugged in? It's painful, lemme tell ya.
Anybody want to suggest an OS that would work for me? I'm serious.
-- "I never gave these stories much credence." - HAL 9000
Is this related to the playing music and network file copy slow down bug as well?
.. when your GUI is using 2 gigs of RAM.
I call sensationalist bullshit. I just moved 20000+ files across a network connection to my Vista laptop about 2 or 3 hours ago without the hotfix applied. Memory usage does not appear to have increased at all from the typical baseline, and all files are present and accounted for.
Even though I plan to slap Ubuntu on this laptop the moment I hear linux has perfect power management support for it, I still have given Vista a fair shake. Methinks this has little to do with Vista itself and more to do with antivirus products sucking, as they always have. I've got no love for an industry that can only keep itself afloat by never perfectly solving the problem it exists to solve.
The reason being is I've setup a Vista system and copied about 100,000 files (totaling about 60GB) drive to drive in a single operation, without error. So while I'm not saying this isn't a Vista error, I'm wondering what else has to be done to trigger it. The persisting across reboots, even if you break it down smaller really makes it sound like another program is somehow interfering with the copy. I'll have to mess around with it at work, we have Vista test machines and Cadence installs north of 250,000 files when you install its libraries. I know it installs fine, though that isn't a copy strictly speaking as it is files being extracted from archives.
I'm just wondering if perhaps there isn't more to this than just "OMG Vista runs out of memory!" If it is a memory issue, why then haven't I encountered it, doing far larger amounts of files?
How the F%$^ can this be a problem? A file copy is a simple operation. There's simply no excuse for this... This should have never been a problem in the first place. What pisses me off is that I need to buy a new laptop, Vista is now forced down my throat, and I have no option to get XP pre-installed.
When I discovered a similar bug in Windows NT eight years ago (incomplete copying a large directory tree, silent), I installed FAR and haven't bothered with using Windows Explorer for any important stuff ever since. It makes me glad skills learned years ago are still useful: I'm using FAR in Vista.
17779 eligible voters in a district, 17779 'vote' as one. This is Russia.
Amazing that Microsoft are so short-sighted that they don't consider this important enough to include the fix in SP1.
Think of the potential loss of important files just because this thing doesn't report when it fails.
OK 16400 is a lot of files but its not unrealistic number. Just my windows directory alone has about 15800 files (not that I would want to copy it).
I just hope this bug directly adversely affects enough managers that make purchasing decisions to drive a few more to adopt Linux as a company-wide platform instead of windows.
TFA is wrong. Read the MS support page.
2^14 is 16384, so Vista uses 14 bits in its for loop for copy. The question is why? even signed integers are 15 bits in old systems so are they using 1 bit for other purpose?
Very probably it's 16,384, as in 2^14. I'm sure it was a hardcoded limit. So typical, Microsoft... so typical.
Linux. For all of your pr0n handling needs.
Did it make it 10-fold worse? 100-fold? 1000-fold? Did they just not have enough files to find out what the limit for just the kernel leak without KAV is?
FTA: The "Out of Memory" error (which is affectionately known at the PC Doc HQ as the "Out of Cheese" error
I don't think there has ever been a version of Windows that could deal with large numbers of files. Particularly if you are using the GUI interface. The whole thing is a toy operating system, really.
A few years ago, while investigating a similar problem with a production server (a SERVER not a client machine) the machine would gradually grind to a halt doing the copy, while still responding (but slowly) to other operations.
I found that the "copy" command did much better than a drag and drop operation, but still would have a problem eventually. Finally, I found that this was a known problem, and that to solve it, a dedicated MS employee had written a utility called "robocopy" the "robo" not being for "robot", but for "robust" (really, it said that!).
Using that usually got the job done, much more slowly than it should have, but at least I didn't have to re-boot the machine daily to clear things up.
Now that Gates is too busy with other things to take tours of the data center, really, Microsoft should do itself a favor and ditch the VMS underpinnings of Windows (some of which they have probably forgotten how to maintain) and build your nice GUI on top of BSD or something similar. That way you won't break your budget (in manpower and electricity) trying to match the Google server farms.
Once that's done you will have the experience needed to do the same on the desktop. You will be doing the world, and yourselves a favor. Thanks in advance!
Where are you shopping? Most computer manufacturers still offer Windows XP instead of Vista as an option on their computers.
Cat got your tongue? (something important seems to be missing from your comment ... like the body or the subject!)
I believe the poster is referring to working within 1 cab file, not for all cab files...
It's either none or all it seems.
Who is general failure, and why is he reading my hard drive?
You know you can opt for a Macintosh. With Leopard coming out and all. Plus, if you *need* Windows, it is just a reboot away or something.
and then you take the 640, divide by 2, get 320, remove the last 0, and get 32, the reverse of 23.
Then you multiply 23 by 30, get 690, take 42, reverse it to 24 and subtruct this from 690. You get 666.
What does that tell you? Ha? Ha?
You can't handle the truth.
I wonder if it actually craps out after 16535 files...
I was raring a file up to email and I got the out of memory error. Vista blows.
Enjoy Every Sandwich
I know,,, they want to start doing it like vista is a printer, you can transfer a fixed amount of files then you have to pay more and more and forever more.
:)
that's not a glitch they want to fix, it's a lawsuit they want to prevent
The original rant may be found here.
I wonder if the out of memory is for real. I wouldn't be at all surprised if it was out of some other resource, but couldn't come up with anything more meaningful to say - like an infamous version of Microsoft Word many moons ago that said it was out of memory when you didn't have a default printer defined in Windows.
What is this XP you speak of? Is it some sort of DOS shell?
...laura
"How the F%$^ can this be a problem?"
To ensure backward comparabillity. I'm a techno luddite. I got my first DVD drive this year and was slow to get CD drives. All my systems have floppy drives.
98 can be made to puke copying a big file from a floppy. If the floppy is bad you may as well reboot. Delete a few gigs from a hard drive and it goes awy for ages and will more often then not kill the gui task. This is very repeatable. Again, if the CD is bad, reboot.
I can make XP croak as well copying huge files from a CD or floppy which is handles very very badly (see 98). And my biggest drive is 20G (albeit a damn fast one). It seems to do ok copying big files from hard disk to hard disk but even with SCSI RAID with huge caches and the correct drivers you can't expect much left of your CPU when its doing this. Do two at once and you may as well go rebuild your transmission while you're waiting. Apparantly DMA and interrupts are unknown concepts at Redmond; PDP-11's did this just fine (unless you turned off DMA and interrupts in which case it was no faster than a 4Mhz Z-80 CP/M system)
There's really no excuse for this. In the days of 8 bit microprocessor systems we still went out and got the biggest pre-production drives we could to see if they'd copy ok. They may have filled a room but the Navy did indeed have 100 megs online pumping its data through an 8085. Eventually. We knew it'd work cause we tried it. This was 1981.
This is why they use real (IBM, SUN) computers to serve up say, the root or com zone. The root zone isn't big but the com zone is. Copying it isn't a problem on any unix system I've tried, just don't try to load it into BIND on anything but a massive computer or it'll just hang. And not gracefully either.
Windows is for games and sometimes works well enough to run some office tools. As long as you don't need accuracy.
Big files or LOTS of small files are a problem for computers. This isn't news folks. It's just sloppy carelessness.
Need Mercedes parts ?
Plus many more....
What does that tell you? Ha? Ha?
You've got too much time on your hands?
"We returned the General to El Salvador, or maybe Guatemala, it's difficult to tell from 10,000 feet"
The reason this shows up most with kaspersky is because it adds an alternate data stream to every file and you're then copying thousands of files with ADSs which exacerbates the bug.
...and you've eaten your pen. simply stunning.
That actually makes me worry even more.
Now I'm not working at MS, so no way to _know_ it, but I don't think they'd move file copying into the _kernel_. (Then again, they did move stuff to kernel space before to gain 1% more speed, so it's not outright impossible.) But seriously, the kernel in any OS is there to provide the essential stuff, not file copying. You might get file open, file read, file write, and file close in there, but not the graphical shell's implementation of reading from one and writing in the others.
Additionally, _if_ they had file copy implemented in the kernel, then there would be no way for Kaspersky to get in the way there and make it any worse. So they probably don't have a kernel function that copies files.
What I'm getting to with this big tangent is: probably some other kernel function is leaking, and it's probably called from other programs too. I.e., you might get some side-effects even if you _don't_ copy sixteen thousand files in one go. If it's a memory leak in the file-related functions, any other program opening and closing files lots would have the exact same effects... eventually. Even if it doesn't fully run out of memory, well, wth, I have better uses for my RAM than to have 100 MB wasted to such leaks.
E.g., if I brute-force search for some text in all files on my hard drive (I do exactly that now and then), even with some other program (e.g., I use Total Commander lots), how do I know it doesn't happen to use the same functions?
Plus, what interests me more is this: well, copying 16k files in a burst is a good way to cause a leak to run out of RAM. But what happens if you just leave your computer on long enough and copy lots of small files in smaller batches? I mean, wth, nowadays a lot of people leave their computers on. It isn't just for linux uptime brag-fests any more. Does the same effect happen if I leave my computer on for a month and copy, say, 600 files a day?
A polar bear is a cartesian bear after a coordinate transform.
From TFA - "...it's a kernel leak that lies at the root of problem."
"No doubt one may quote history to support any cause, as the devil quotes scripture." - Learned Hand
It's an old troll, just updated for Vista, gods people.
This thing is almost ten years old.
The rock, the vulture, and the chain
...why would anyone want to copy 16400+ files? What if a person were to upgrade their hard drive.Linux Zealots: Smarter than Mac Zealots, but still zealots.
Not quite forced down your throat. Dell will install XP if you ask and HP has some models with XP.
I've had to direct customers to these since Vista's shorter battery life is a huge problem.
mod parent as stupid.
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
Someday, I'll have a real sig.
What pisses me off is that I need to buy a new laptop, Vista is now forced down my throat, and I have no option to get XP pre-installed.
dell have some laptops with XP, you just have to go through the small buisness section of thier site to find them.
you also have the option of buying vista buisness or ultimate and excercising your downgrade rights (though you are on your own regarding drivers if you choose this route).
note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
Not that the old style confirmation was any good. XP has no 'no to all' or 'rename,' so if you don't want your data overwritten, you have to stop the operation.
And "Yes to all" doesn't seem to mean that. It only means "Yes to all to this particular question in this directory."
I just used Explorer to try to move an 8gig drive to a folder in another. It took a couple dozen tries.
Try holding Shift key while clicking. It works as "No to all" for file replace dialog which pops up while copying files. It might do the trick.
With Great Power Comes No Love Life! - Samit Basu
Umm...no offense, but this isn't exactly a problem the average user is going to encounter. Sure, it's dumb. Sure, there's no good reason for this to be happening. But tell me, when was the last time you copied 16,400 files using XP's built in copier? I think I may have copied 200 files once, and I copied about 15 gigs of data once, but I've never even come close to this limit.
No reason to get all rabid about it, it's a problem that few people are ever going to even come close to seeing.
As for XP pre-installed take a look at Dell, they're offering a lot of laptops (very good ones too) with XP instead of Vista.
There are two kinds of fool One says 'This is old therefore good' Another says 'This is new therefore better'- Dean Ing
Dude, you are friggin' hardcore if on a recurring basis you're copying around 50K-100K images of pr0n.
That's almost unfathomable.
Reminds me of something an old prof used to say about stacks of floppies full of porn that used to get traded around
Cheers
Lost at C:>. Found at C.
This is a minor problem, absolutely rare event, occurs with next to no regu...
**OUT OF MEMORY ERROR, SYSTEM HALT**
Karma Whoring for Fun and Profit.
Quote>I don't think your average user would do this.
I have learned that copying files using the UI in Vista is a very painful thing to do - even if you don't have 16K+ files.
You've kind of hit on exactly why the average user would do this... backing up data, moving their music collection to another drive or device or computer, etc... the list of possible reasons an average user (who wouldn't select something like RoboCopy or Total Commander or whatever) WOULD choose to use Windows Exploder to do this.
(I think) you are confusing your (correct) knowledge of using the right job for the right task - with an average user's "knowledge" of "Explorer is the only tool I know that does this task"
Very similar to way too many "average users" who click on the "Internet" button/icon on their Windows machine. We all know (well most of us here do) that IE is NOT the Internet. MANY "average users" dont realize there are other/better tools than Explorer to use for mass file transfer.
Regardless, it's not like Explorer is doing (or rather, SHOULD be doing) any massive, unseen mumbo-jumbo that should cause such problems (slow downs or memory leaks when copying)... but simply, that just isnt the case. Even if there are better tools (which I think we all are in agreement there are), the average user (rightly) has the expectation that copying a file is simply that... copying a file. It just isn't... so the average user is wrong, due to poor design (the thumbnailing routines and routines that handle music/video metadata, etc) and bugs just being patched (the OLE component), and who knows what else that will pop up later.
Now, in MS's defense, copying through the UI (especially if it is handling the background tasks it should be - like verifying/fixing shortcuts, thumbnailing, etc) will have some more overhead then similar "Just copy/move the files" programs... that's to be expected. The only problem is MS hasnt fixed the routines that SHOULD BE handling those transparent, background tasks either.
StarTrekPhase2 - The Five Year Mission Continues!
Except that Kaspersky most certainly does install itself into the kernel. After all, that is where those types of drivers need to be: living in a ring 0 world to truly protect the computer from malware, which is hopefully confined to ring 3. Also, the symptoms reported don't necessarily have to be kernel leaks. UI components not drawing correctly can occur if GDI resources are leaked for a long enough time, since there is only a finite amount of them available, even when you have 4GB of RAM installed. One application can't take all of them, but a leak in one along with several others taking some would make the symptoms occur.
The real problem is the handling of alternate data streams in a component used by Explorer. Read the KB article. Kaspersky stores information about each file in an alternate data stream, so it is little surprise that it exacerbates the problem. Alternate data streams are a highly dubious feature; I wouldn't be surprised if they become deprecated next Windows release. The idea of maintaining a parallel, but hidden filesystem is pretty bizarre, but more importantly, ripe for abuse by malware. Then again, this may be how MS implements file revision history in 2003 and Vista.
I can't say I'm surprised, really. Vista was rushed out the door and not ready for prime time. Unintended consequences of interactions like this were bound to occur. Maybe that is why I dislike running resident AV software on my machine. Stay out of my kernel, y'know?
Coworker calls me up a few weeks back. She has a three year old Dell and wanted to "update" it so went to Best Buy and came back with a "memory stickboard" and a steaming fresh pile of Vista Home edition. After getting her to explain what she was wanting to do, I told her to just leave everything sit and bring her computer and original software to work. I figured she just needed to have a virus/spyware cleaning done and maybe have a few things pointed out to her. I told her to make sure that the Vista remained unopened so she could return it and not touch the RAM, either. Odds were she probably didn't even have the right type for her computer. I also told her to make sure her precocious 12-year old knew to not touch anything.
So, what happens? She goes to bed and he goes to town. He installs the RAM, does a full install of Vista and wipes all her shit off the computer, and installs Vista on his laptop for good measure. Oy. She finally brought the machine in today. I was very surprised that Vista was clickable. You could navigate about in it without lag. I think that might in part be due to not having half the required drivers so we don't have sound, network, modem, etc.
I think she said she paid like $200 for that copy of Vista. She could have returned it if the little shit had just fucking listened to what he was told. I told her it would be funny to tell him that's his Christmas. Bet the little shit will listen the next time.
Kwisatz Haderach
Sell the spice to CHOAM
This Mahdi took Shaddam's Throne
Actually, a lot of the problems I've noticed with XP is related to the stupid fucking way that Windows handles it's file cache. It will literally swap out PROGRAMS YOU ARE ACTIVELY USING to expand the file cache during a large copy/read operation.
Anybody that has ever tried to alt-tab while copying huge files knows about this.... then you sit and wait for the pages to be swapped back into memory. And you might as well get some coffee, cuz with the hard drive already being pegged for the copy operation, it's gonna take awhile. Oh, and once it's finally done and you need to alt-tab back to the original program.... well, hope you need more coffee.
Lately I've been playing with a program called CachemanXP. Google it. It seems to give you more control over the memory and process management functions of Windows. It also lets you do a 'kill -9' equiv, which (as far as I'm aware) even Task Manager won't do, as it insists on trying to do a graceful shutdown first.
I want peace on earth and goodwill toward man.
We are the United States Government! We don't do that sort of thing.
And they can't get an operating system out the door that copies files properly? I'm saying this not as someone seeking a flame war or anything but someone who shelled out the $$$ for a copy of Home Premium. I also say this as someone who when copying my entire documents directory to an external drive may have experienced this bug because I had to restart the system to unfreeze stuff at the time.
Hey MS, less features and more SOLID OS please or the penguin will really be biting away at you more then it is now.
~~ Behold the flying cow with a rail gun! ~~
"...Vista is now forced down my throat..."
What about Apple's Mac OS X or Linux? Both are better. No one is forcing you to buy Vista. Buy it only if you like it and think it is worth the money. If you don't like it or can't aford it look at the other OSes.
Last week my work station had some sort of update happening (later determined to be both a Windows XP and semantics..)that was supposed to happen at 3am not 4:30pm
I left work around 6:30 realizing my drive 6+ gigs space was vanishing..
Next day I had a warning of low disk space of 135megs
After much digging I was able to determine that some of the 11.5+ gigs of drive space I should have was the offline cache that I was able to remove using disk clean and turning off the cache.
But the other 6+ gigs took longer to figure out.
looking at log files and the results of a current drive defrag analysis as I did a defrag the day before this all happened...Apparently after the updates happened my work station decided to offline cache my local drive and in the process stopped doing so when it hit the 135meg low drive trigger. In addition to this it made this part of the offline cache unavailable. In other words it was doing nothing but taking up drive space.
Searching for a solution, as I know where the files were but unsure of how to remove them safely...
In the offline files option you hold down ctrl+shift and mouse click on "delete" and this effectively reinitializes the cache. Reboot required (duh)
after rebooting I turn off cache after setting it to 0 size (as MS might decide to change it next update..... regardless of my now having set updates to notify ONLY....
So where do I send the bill to MS for the company time I spent on this mess?
"What does that tell you? Ha? Ha?"
That SOMEbody's croakin' too much smack... (A Spoonerism)
Previously: "Linux... Toward the Sunrise..." Now: "Linux... Toward the-- No, now, part of Every Sunrise"
My notebook is running Vista Home Premium. Core2Duo, 1GB ram, blah blah blah. One of my hobbies is photography, and I have about 18,000 digital photos that I've taken over the years. I keep this collection on a couple of different computers for safety reasons. I also keep them backed up on an external USB drive, and use that drive as a transport mechanism between the other computers (I'm too cheap for a gigabit LAN). When I bought the notebook a few weeks ago, I had no problem copying all of those photos from the external drive to the notebook. While I have not spot checked every single photo, the byte counts match and it certainly appears that they are all there.
While it is unpopular around here to say so, Vista seems to work pretty well for me. YM, of course, MV.
Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
We have found the first slashdot user that has no porn.
I noticed that when you would copy large amounts of files everything would be swapped out to do so. Including the explorer menu. It was rather pathetic to have to wait to get things out of swap for something as trivial as hitting the start button.
The phrase "more better" is acceptable English. suck it grammar Nazis
Antivirus softwares need to scan each bit passing to the disk which slows up file copy on any Windows system. Before XP culprit was the default of disabled DMA for HDD. Yes linux does it a bit faster but it's not a huge difference in practice.
With Great Power Comes No Love Life! - Samit Basu
There is a similar bug in all unix, probably linux too. :)
If there are 16k files in a simple directory, type rm *.
If it works, try the same with 32k files.
Then 64k files. Eventually it will fail
Patents Drive Free Software as Hurricanes Drive Construction Industry
Make an image of it?
Bitter, not morose.
It is 16384, but the missing bytes (1784) is the hidden DRM count you are not allowed to see or measure. They even fscked that up (using Excel, I suspect) - it should have been 1984 Orwellian bytes.
Well, I did. And there was no problems. Sure, I had to wait long before windows indexed all files, but there was no problems.
Extreme Programming - Redundant Array of Inexpensive Developers
While we're on the subject of copying files, did they fix the situation as to what happens when you try to delete,move,copy multiple files, and encounter an error? It seems like the best thing to do would ask the user if they want top stop, or ignore the error and continue copying the rest of the files. As a bonus it would be nice if they displayed a list of which files they couldn't copy, and the reason for each, once the operation is completed. Instead, it just reports that it had an error with a certian file. Doesn't tell you which files it copied, and which it didn't, and doesn't give you any option to continue with the rest of the files. Basically, if you want to clear out your temp files, then it's almost impossible. You keep on encountering files that are in use, and you have to pretty much delete them one-by-one.
Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
Win95, Win98, and WinME all can't handle more than 512MB of RAM anyways
SYMPTOMS
If a computer that is running any of the versions of Windows that are listed above contains more than 512 megabytes (for example, 768 megabytes) of physical memory (RAM), you may experience one or more of the following symptoms:
You may be unable to open an MS-DOS session (or command prompt) while Windows is running.
The computer may stop responding (hang) while Windows is starting, or halt and display the following error message:
Here is one of their suggested workarounds:
Reduce the amount of memory that is installed in your computer to 512 MB or less.
Here is their support article on it http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q253912&ID=KB;EN-US;Q253912
ZERO ZERO ONE ZERO ONE ZERO ONE ONE! Just brushing up for my next big invention: Ethernet over Voice (EoV)
That sort of depends if you are talking average home user or average work user. The average home user may actually have this kind of problem - since downloads to the tmp directory are then copied to the correct folder once downloads are complete. Update EQII, WOW & FFXI & you've gone a long ways towards 16K files. Add in patch Tuesday, and your average user is probably going to hit real close to 16K files if they try to keep the PC up for a month.
I probably come reasonably close to 16K files copied in a week on my work PC, so a crash like that would hit me every other week or so - not something I would consider 'Enterprise Ready'.
MS has a habit of programming for the home environment & pushing it into the Business environment.
User (looking entirely like an idiot):
"An OS that can't copy files? Yeah right! Whattay think I am, some kind of idiot?"
"If you're not passionate about your operating system, you're married to the wrong one."
Does HAVE to be limited to "extended attrib" files?
I wonder if users of say, AutoCAD, are affected. Anyone using HUGE files and using XREFS to link to hundreds of drawings with thousands and thousands of objects (maybe hundreds and hundreds of thousands in a single drawing) might stop and wonder what parts of the drawing might not be showing up. I wonder if AutoDesk will generate a checksum tool (if there isn't one) to daily allay fears users may have.
When I copy and paste in some drawings, TENS of thousands of objects get copied or moved, sucking up a huge chunk of the 512 MB my machine has, and it bogs it down.
Probably other apps like backup applications theoretically could have a problem, no?
Previously: "Linux... Toward the Sunrise..." Now: "Linux... Toward the-- No, now, part of Every Sunrise"
Based on the very funny article at
/. this site once and for all, it was the subject of a previous article today!]
http://www.meangene.com/essays/microsoft_interview.html
it's probably:
CopyAllFiles(HideouslyLongListOfFiles) {
[ pop file name off HideouslyLongListOfFiles and copy it ]
[ call CopyAllFiles(HideouslyLongListOfFiles) ]
}
Which of course leaves the door open for
CopyAFile (ListOfAllBytesInTheFile) {
[ pop a byte off ListOfAllBytesInTheFile and copy it ]
[ CopyAFile (ListOfAllBytesInTheFile) ]
}
[Might as well
Give a man a fish and you have fed him for today. Teach a man to fish, and he'll say "WHERE'S MY FISH, YOU IDIOT?"
I haven't checked exactly how many files I have lately, but when I do a backup, I just backup my develop/ and personal/ directories by selecting the two directories and copying them to my USB backup drive. It might not be an elegant way to do my backups, but I assumed it was working. I guess I better go back and see if the same number of files exist in the source/destination directories since not even the copy function of Vista can apparently be trusted.
Maybe I should just start using WinSCP to copy the two directories from my Vista machine to back them up to my Linux server.
If moving files with ADS in them causes problems on wista, what on earth will the rootkit writers do?
-q
... proceeded to copy the rest of them in my batch over over 27 million files I copied once. I don't do that very often. But hey, I had to fill up my new 500 GB disk somehow :-)
now we need to go OSS in diesel cars
I don't know about vista, but the answer in XP is "no".
It just stops the copy, move or delete after telling you that it couldn't do that.
Everything I need to know I learned by killing smart people and eating their brains.
their bug is legitimate. Unix does shell globbing (yes, it IS fucking retarded), which means that wildcard expansion is done by the shell, and there's a definite file line limit. This can easily be solved using an xargs (or find or something) command, and most shell geeks know how to/that they have to do this, and I don't think any of the GUIs have a problem similar to this.
"An idle Excel spreadsheet is the Devil's workshop."
I've got 10,000 files just in my photos directory. If I want to move them to another computer, I am 2/3 of the way to loosing my family photos. I'm sure that there are lots of people with more pictures than me.
...that it didn't even lock the files away from the user's own will without any way to access it.. That happened on a XP Home Compaq OEM computer once when I copied around 2000 files to a folder, like some anti-piracy countermeasure.
now we need to go OSS in diesel cars
I've seen that bug too.. with rm and grep. It's caused by shell expansion.. "too many files".
the only thing those numbers have in common is that they are numbers. Any other mystical properties you try to ascribe to these two numbers is entirely an invention in your head.
“Common sense is not so common.” — Voltaire
Principally a programmers differencing tool, but also great for file copies, website deployment over FTP, all sorts of things.
Actually, it's more like 90 / 90000, but you're only a few orders of magnitude off.
Not necessarily his fault, maybe he used Excel to calculate it...
I suppose the OP actually meant 16384... which IS more relevant than the both numbers above! :-)
I'm not ruling out the possibility that they might be Evil, mind you. There's ample evidence for that as well. It's just that I've seen their API designs and the product of their OS design and I'd have trouble believing that they could be checking what you're doing on your computer without being caught at it. Hell I'd have trouble believing they're capable of consistently putting their underwear on UNDER their pants! (Oh, I'm SO not going to get a job offer there NOW!)
I'm trying to teach myself to set people on fire with my mind... Is it hot in here?
I'd choose Vista over faster, cheaper and more stable systems because it helps fight piracy. :)
Just disrupt the deflector shield with a tachyon burst.
"How the F%$^ can this be a problem? A file copy is a simple operation. "
The file copy isn't what's broken. Windows generates a list of all the files that need copying and it goes one by one and copies them. If that list grows out of bounds (easy enough to do as storage has been growing at a rapid rate), it'll crash.
I agree with you that there's no excuse for it and that Vista should never have been released with that problem. But 'infinite' is not a concept that computers understand. There's problems happen, and not just in Redmond.
"I like to lick butts!" by MobileTatsu-NJG (#32700246) (Score:5, Informative)
Sorry, but this has always been a problem with Windows. I'm sure if you have top-spec machines you might never see it, I'm sure if you shut down every hour because of the way you use your computer, you might never see it...
but I've always had this problem with every Windows past 3.1 (I didn't use 3.1 with enough files, so I wouldn't know if it was earlier too).
File copy has ALWAYS taken an extortionately large portion of system resources when you do it in the GUI. Windows 95/98 was terrible and once it had hit the magic mark, it would just churn and not get any further (the estimated time would just go mad). Eventually it would run out of "resources" (which had nothing to do with free memory, but more things like file handles etc.) and start erroring, losing icons, blue-screening, etc. and the only fix was a reboot.
I can reproduce the same problem in XP in a snap - just get a truck-load of files and start copying them WHILE DOING SOMETHING ELSE, e.g. renaming, filing, categorising, or just working in the background. It'll take a while but eventually everything will slow to a crawl (and, yes, I've done this many a time on systems without any form of file read interception like antivirus etc.). It tends not to crash quite so bad but it will swap like mad and slow everything to a crawl.
And again, doing it via command-line copy won't reproduce it anywhere near as easily. A few years ago I was categorising and filing approximately 50Gb of VB programs, website source, emulator roms, millions of tiny files etc. and it was a pain to do precisely because of this. I reverted to a command-line about halfway through which sped things up a lot.
It's DEFINITELY more to do with the NUMBER of files, though, and not the individual size. A million tiny files copies a lot slower than one massive one of the same size. I've always just put it down to "something" in the copy GUI routinges not releasing file handles of already copied files in time to read in new ones.
And, sorry, but this is something that I've never been able to reproduce in KDE. Even so, on both OS, I hate the fact that the copy GUI takes so many resources - often the window can't even redraw itself properly until the copy has finished.
And don't even get me started on "Estimated times" in file dialogs...
Guess not. Use Kubuntu/Mac/PCBSD instead. They can copy files fine. Cheap too.
It's forced down your throat because you couldn't be bothered to source a laptop from anywhere but CC?
Give me a break.
"It does not do to leave a live dragon out of your calculations, if you live near him." - Tolkien
Sure, you could. Hey, you could also write your own copy program! Or, you could boot into Linux and do it from there!
Seriously though, why are we making excuses? Copying files is a pretty basic file system operation, and just because there's some other way to do what you're trying to do doesn't mean that it's ok that the system runs out of memory.
The average user is probably not going to make an image, or boot up into Linux, or write his own copy program. He is going to assume — and rightfully so — that he can back up his hard drive (or whatever) by dragging and dropping in Explorer. When Vista wigs out, and leaves his system in an inconsistent state, he is going to be very upset — again rightfully so — and telling him "You should have followed nomessages' advice and made an image instead" is not going to make him feel any better.
There is no reasonable explanation for it except that THEY are checking what YOU are doing with YOUR computer.
That explanation is even less reasonable, if only because it should no more run out of memory reporting on your activities than performing the file copy itself.
So you would reuse a buffer for copy files, but not for phoning home, yet claim 25 years as a programmer?
Your bias is burning so bright it's blinding you.
It's official. Most of you are morons.
It's not a simple operation. Think about how a file copy works within Vista:
1. The file is opened.
2. The file is scanned for viruses.
3. The file is scanned for adware.
4. The file is scanned for DRM violations.
5. The user is asked if they're really sure they want to copy the file.
6. The user is asked again if they're sure they want to copy it.
7. The OS makes a judgement on how long it will take to copy so it can update the pretty stats in the gui.
8. Lots of flashy graphics and widgets are loaded to show you a pretty animation while you wait.
9. The file is copied.
10. The destination file is verified that it is intact.
11. The destination file is scanned for viruses.
12. The destination file is scanned for adware.
13. The destination file is scanned for DRM violations.
14. The file is successfully copied.
Hell - I'm surprised their OS can even handle copying 1,600 files, let alone 16,000.
Just disrupt the deflector shield with a tachyon burst.
Is this somehow related to the stupid inability of pretty much every Windows version ever to NOT start copying files until it can assure there is enough room on the target disk? I've lost track of how many times something has started copying, gone for a few minutes, then just stopped because 75% of the way in Windows realized there wasn't enough disk space to finish.
I will not use a Microsoft Product until the SP2 comes out.
Chas - The one, the only.
THANK GOD!!!
I hope that soon this story will be covered on his blog. Previously he described other weird things happening during file copy procedures, as well as the Vista network performance issue. Hopefully, his story will provide enough low-level details for the hungry minds.
The saddest poem
Where could I get the laptop-specific parts? I've built a number of desktop machines, and know where to get those parts. I've even found RAM and HD for laptops (as those are common upgrades). But the case and display? "motherboard"?
"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."
Yeah, that's the typical Windows world attitude.
The operating system is specified to do certain things. It doesn't do them. Well, if not many people use this feature, so what? One of the way we make the feature list long is by including lots of features that don't work, but we figure nobody will use them and nobody will find out...
"Waiter, there's a fly in my soup."
"What kind of soup?"
"The orange scented celery puree.
"Oh, hardly anyone orders that. You should expect flies in it. It's your own fault for being foolish enough to order it."
"How to Do Nothing," kids activities, back in print!
"Vista is now forced down my throat"
I got news for you, that is Vista, but it isn't your throat it being forced into.
There are no loopholes. It's either legal or it's not.
Requesting a hotfix from MSFT support is pretty easy these days. Find the KB articles, go to this address, enter your email, the KB number, platform information, and they email you the hotfix.
It's a lot better than the old days where you had to get a support ticket opened, find a human, convince them there was a hotfix, and get them to provide you the bits somehow.
Nope, that's a Styx song.
Certain gifted/cursed types can see those numerical interactions instantly, thus wasting no time.
My first Journal Entry ever, in 8 years! http://slashdot.org/journal/365947/aphelion-scifi-fantasy-horror-poetry-webzine
Just a peeve of mine..."and all files are present and accounted for." As a former military man, I have to correct this misused cliche. It is "All present OR accounted for", not both. Something is either present, or if it is not, but it is accounted for. Thanks for letting me rant.
that the error message is lying and it is in fact file descriptors that are leaking? I can imagine people writing the info window saying "we'll never explain to the John Q. User what a file descriptor is, whereas memory is something they have a chance to understand; come to think of it, there's a ready answer for the helpdesk techs whenever somebody calls about this - buy more RAM!"
I can assure you, the best way to get rid of dragons is to have one of your own.
That explanation is even less reasonable, if only because it should no more run out of memory reporting on your activities than performing the file copy itself.
So you would reuse a buffer for copy files, but not for phoning home, yet claim 25 years as a programmer?
There are plenty of reasons why you would use a single buffer for the copy, but a small buffer for each file. Once scenario could be that since a copy is going to be faster than internet, you would queue up file information packets structures to be sent out, the programmer probably just forgot to delete structs. If you wanted stealth, you would do this slowly or when the computer is not being used.
We know as a fact that (1) Windows machines phone home periodically. (2) That Vista performs "rights management" on files copied to and from the hard disk(s). Is my assertion so far off base?
Once you get past 16,400 mp3's, the RIAA is notified.
http://www.ibuypower.com/ has some great laptops and still allow you to get Windows XP installed.
Rebooting into Windows is so 2006...
Gentoo (a linux distro that compiles from source) has all its packages in a simple directory structure with files for each package. That is a LOT of files. The intresting thing to see is just how much speed up you can get using the various filesystems on offer. Reiserfs really makes a HUGE difference to the speed. Same HD, same kernel, same drivers, just a different filesystem and you can easily get a tenfold increase over other journalled filesystems.
Same with compiling, I know mount /tmp on tmpfs (ram disk) and the speed increase is enormous.
HOWEVER, I now have a ext for boot, jfs for / (no real reason, I just like how it handles itself reiserfs for /usr/portage tmpfs for /tmp and /var/tmp (and I really should choose a new one for / and pick jfs or xfs for my movie collection). Somehow I think that this is just a bit harder to support then NTFS for everything.
Windows has to do LOTS of things and has to do them reasonably, that is actually a lot harder then do a single thing and do it really well. I think the problem here is that windows does more then just copy the file but actually tries to process the file and then doesn't properly release the memory. MS LOVES doing this, it is the MS way, it can't leaves files alone, it must read them so you can see how many minutes a song has, the dimensions of the image or the creator of that movie. This case makes it clear because anti-virus software also LOVES to read files while they are being moved around. That is its job, but it means that this is FAR from the straight copy your old systems did.
MS has always had troubles with file operations, just try to copy a large amount of files, it will takes ages to get ready to even start copying it, way more then is reasonable. Its system just ain't designed for it. Take the undo option, if you think about it, that is a memory hog waiting to happen, does it really have to remember ALL those thousands of file that a single command can generate? Ouch.
MMO Quests are like orgasms:
You may solo them, I prefer them in a group.
Do yourself a favor. Use Robocopy.
you just keep on trying till you run out of cake.
You can do as I did with my last laptop. I never booted it into Vista (I knew they would refuse to refund me, so I didn't bother to record there is no "I don't agree" button), but, instead, booted from a Ubuntu 7.04 CD and it worked flawlessly. It even got Compiz working in a couple minutes as to wow Windows vict^H^H^H^Husers.
Or you can do as my wife did - she went to an Apple store, bought the most beautiful computer she could afford and now she is very happy with her gorgeous laptop that just works, never locks up and is quite safe against the viruses that inundate our e-mail thanks to how Microsoft both dominates the market and develops their software.
http://www.dieblinkenlights.com
Reminds of a problem I never solved using ntbackup on windows server 2003.
Because ntbackup uses one large file, and a file copy uses 2k (somtimes 4k) of paged kernel memory per 1Meg when copying a file (In our case another SATA HDD), and Kernel memory seems limited, our backup would always fail at around 50-60GB. The only solution we found was to create multiple smaller backups of around 30GB.
46137
Is that an oxymoron like "jumbo shrimp" or "military intelligence"?
That's not to say that Microsoft didn't fuck this one up, but it's certainly not as simple an operation as you might think.
Anyone try using Firefox lately? Sitting here, doing ABSOLUTELY NOTHING, with 3 tabs open, it's at 69MB right now. I have seen it hit 300MB before, and the longer you have it open, the worse it gets.
Memory leaks happen. They're called bugs. Bugs eventually get fixed.
No, this has nothing to do with a bug in Vista. This has to do with the Slashdot editors throwing more red meat to the dogs. Just like the broadband stories that pop up every few weeks (how many times do we need to be told that the US isn't #1 in broadband?), and just about every other Vista story.
You may notice something though - what hasn't been popping up. There are fewer vulnerabilities for Vista: Secunia reports just 15 vulnerabilities ever, compared with 24 for XP in 2007 and 45 for XP in 2006.
People are complaining that Vista requires too much memory and doesn't have 100% hardware support. Well, 2GB of DDR2 now runs about $60, and pretty much any new hardware sold today is Vista-compatible (not to mention lots of older hardware, including everything in my 3 Vista PCs, all of which predate Vista).
People won't care that Vista has higher hardware requirements. They will care that it's more secure and more robust. Ask anyone who has overclocked their GPU too much:
It may not seem like a big thing, but display drivers are very complex and they shouldn't be able to bring down the computer.
How can you expect consistent moderation? Because of the way the system works, the first mod can effectively hide a post from other modders (yes they advice you to mod at -1 but who does that?) so wether a post gets seen or not depends on who gets to see it first. Mod it down, and it is gone. Mod it up, and more people see it, this includes downward modders but also upward modders, so it totally depends on the first mod.
Then there is the fact that moderation is totally random. So random that sometimes I get them constantly while othertimes I go for weeks without. Meta moderation is even worse.
Then there is mods themselves, not the moderators, but the way you can mod. There is no simple "FALSE" mod. or "you are an idiot" mod. Or a "True" mod. Flamebait and troll are way to often used to mean "I don't agree with you." Insightfull and intresting far too often for someone just stating the facts.
So don't expect sense from the moderation system, just accept that some of the best posts will disappear forever because a mod didn't like it, and that some crap will be modded up.
MMO Quests are like orgasms:
You may solo them, I prefer them in a group.
Microsoft employees buy another copy of their 13K+ music collections if they want another copy.
Insert self-referential sig here.
This has to do with shell expansion and the argument list that gets passed to exec(). It's fixed in a recent Linux kernel version, it now allows argument lists limited only by available memory.
Of course there were always ways around it.
-- Alastair
It's just the latest in a long list of poorly-implemented file operations that includes these gems:
1. Shift-drag, which moves directories, but if there's not enough room, it stops halfway through, leaving two half-complete, completely now un-re-mergeable directory half-trees.
2. The famed (File) Explorer bug where Explorer starts doing things such that, once it starts, you can't delete a folder without a reboot because it gives you a "file is in use" error -- along with the highly offensive suggestion to "please close the application in order to delete the file", which you can't do because it's Explorer. Ok, you can kill Explorer and (from the Task Manager window, do Run->explorer, but that's hardly obvious.)
3. The attempts to keep idiot users from deleting files in use prevents people from being able to delete virus files and the like. In the olden days, you could do option-drag the file to the trash and clobber it even if it was open, but MS changed that to "help" the situation.
(-1: Post disagrees with my already-settled worldview) is not a valid mod option.
The limitation on `*' expansion is command line length (actually command line length plus number of parameters plus the size of the environment) and that is an irritation. More so if the shell doesn't enforce the same limit when invoking a shell function, although perhaps that's a feature. I don't think any of the GUIs have a problem similar to this. You didn't RTFA. Internet Explorer apparently has a limitation of 2**14 files in a single operation.
There are two bugs involved in this article. One is a limitation of (probably) 16384 total files in one operation and the second is a memory leak in a library when many files with extended attributes are processed.
Magic numbers, whether it is 14 characters for a file name, 3 levels of indirect inode blocks, or whatever are evil. GUI programmers are not immune from that programming mistake.
You, sir, have no respect for the ass faces of this world.
Maybe it IS his throat.
Cheers.
This is my sig. There are many like it, but this one is mine.
Or if you convert it to octal and turn it upside-down it spells: OSOOh
Intron: the portion of DNA which expresses nothing useful.
Maybe they're implementing filesystem transactions in memory ? See what happens when you issue three or four copying commands at the same time with a third/fourth that size ?
Religion is what happens when nature strikes and groupthink goes wrong.
Shouldn't this be "divide by 8.3" in the true DOS spirit of things? ;-)
Ever wondered whats wrong with the world? http://www.ishmael.org/
Of course, this kind of thing never happens on a Linux Desktop.
DCMonkey
I expected this very problem to happen and have taken corrective measures. Simply, I use one large file for everything.
Think about the innovation that is being created here. I can access all the spreadsheets I have ever created whilst updating my current webpage project, search for an e-mail archive and read the latest TPS Report Coversheet without changing files. It means I don't have to partition my hard drive. And I only have *one* file ever to backup.
This has simplified my daily work to the point I fired all my IT staff. Thanks Microsoft!
So you're saying you are too god damn stupid to consider multi-threading file copies?
You may have been coding for 25 years but that doesn't imply that you are any good at it.
I think, therefore I am an Atheist.
Well, there you have it. The answer to the universe and everything.
For those situations...
/s
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.
Actually a lot of OEM's are offering downgrades, call CDW (shameless plug)
But tell me, when was the last time you copied 16,400 files using XP's built in copier?
mp3 collections? I ripped all of my music CDs to mp3 awhile ago and at least came close to that figure. I imagine people who have a bunch of downloaded tracks would have even more.
"...always new atoms but always doing the same dance, remembering what the dance was yesterday." -Richard Feynman
Yes, but everyone knows one-in-a-million chances come up nine-times out of ten.
Not a sentence!
Yup. I've just about given up trying to copy gigabytes of files from large drives to backup drives because of this. I mean, once you've done this ONE TIME, it should be OBVIOUS to ANY designer that it needs to be fixed to allow the copy to continue - or resume - or SOMETHING other than just DYING.
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.
Richard Steven Hack - This sig is TOO GODDAMN SHORT TO DO ANYTHING USEFUL WITH! MORONS!
But tell me, when was the last time you copied 16,400 files using XP's built in copier?
Successfully, never. WinXP's Explorer doesn't work worth a damn for copying any significant number of files, either. The last time I attempted was February, and I ended up using SQL Server to generate a batch file to explicitly copy every file.
The cake is a LIE.
If you can read this, I forgot to post anonymously.
We often refuse to accept an idea merely because the tone of voice in which it has been expressed is unsympathetic to us
Pop quiz: How do you calculate the remaining time?
Don't. It's going to be wrong, anyway.
How do you handle infinitely recursing soft links?
Does Windows even support soft links?
I use the excellent program Copy Handler for my copying needs. I highly recommend you give it a try!
+1, WHOOSH!
If you can read this, I forgot to post anonymously.
Or try "rmdir /s " to nuke the entire directory and all subdirs.
For the last time, PIN Number and ATM Machine are redundancies!
That does not make a bit of sense, either one of you!
Added Pressly: "Oh, and by the way, milk is nothing but liquid meat."
Documents. Web pages. Download a Web page and you get a bunch of files. Download a bunch of Web pages and you get an even bigger bunch of files. Do that for a couple years, you'll have thousands of files. Need to rearrange your partitions and you need to copy them.
Bingo! 16,000 files not a problem. And we don't know if this bug hits at what size, anyway.
In my Miscellaneous directory under my Work directory, I currently have over 36,000 files, 33,000 of them in my "Utility Documentation" directory which holds the Web pages and other documents relating to the 1000 of so Windows utilities I have stored on the system.
Saying a bug is not a bug if nobody ever hits it is really not an excuse.
Worse, you get bugs like this when a developer starts thinking, "Oh, nobody will ever copy more than X files, so I can use an integer variable here..."
Richard Steven Hack - This sig is TOO GODDAMN SHORT TO DO ANYTHING USEFUL WITH! MORONS!
New laptops come with Linux. You just have to manually start the install. The Vista on there is just so you can configure the fingerprint scanner prior to the real OS being installed.
If you can read this, I forgot to post anonymously.
Yes but it can be fixed, or rather, worked around. It's been this way for literally decades.
Need Mercedes parts ?
i haven't noticed that problem.
then again i don't use a page file.
Snowden and Manning are heroes.
" That's not to say that Microsoft didn't fuck this one up, but it's certainly not as simple an operation as you might think. "
If the list of files to be copied is small, keep it in ram. If it's big keep it in a file.
Yes it's a performance hit if you keep it in a file, but you're copying a gajillion files you'll not notice.
This aint rocket science.
Need Mercedes parts ?
find -name "*base*" -exec chown us {} \; ; ln -s
we could just go - there's 1 reason OSX is better than MS crap: the "Terminal" a real, honest to goodness command shell with actual functionality that allows it to talk to every server class OS out there.
The cesspool just got a check and balance.
I assume that you need certain proprietary programs that can't be run through Linux- if you can't find any laptops with XP on them, there is a way to get XP on them without paying for %@%$ing Vista. You need to find a copy of XP [harder now but not impossible] refuse the Vista Eula, remove Vista [or have it removed] technically you get the license cash from Vista back which you can put toward a copy of XP. though if you could get away with using FOSS/wined software, I'd go with Debian or Ubuntu and tell them to shove VIsta somewhere unpleasant.
Sigs are too short to say anything truly profound so read the above post instead.
Even grading them on a curve, OS X is able to do this without too much trouble. I have 6 figures worth of files on my boot drive and I am able to copy it whenever I need to make a copy (yes thru the GUI).
Setting this aside, we read from TFA:
It's only when the user checks the number of files in source and destination that they realize they have a problem.Have error messages gone out of style, or are the Explorer devs in denial? If the app is running up against a limit or is running out of memory to complete an operation, it should be reporting so, loudly, and providing the user with options.
Don't blame me, I voted for Baltar.
16,400 files?! Why, that's more files than a person could use in a LIFETIME!
Why would you do that? The bottleneck in file copy is I/O, not CPU. A multi-thread file copy will just make more CPUs wait for the hard drive(s).
I noticed this years ago and was extremely surprised that I couldn't find practically any discussion of it on the Web even after hours of Googling. Several people recognized the memory-hungry cache as a problem, but the bottom line was that since it's a kernel design fault, there isn't anything you can do about it.
In my case XP's cache allocation algorithm was a source of incredible frustration. All the movies and music I get off the Net are shared on our home network. Whenever somebody started transferring a couple of hundred MB, my computer would virtually stop responding. Although the situation improved somewhat after a memory upgrade, big transfers still cause slowdowns.
Use Linux
/autofs -iname "*.jpg" | cpio -pv /media/SEAGATE/ ... assuming you use autofs to auto-mount visible shares on the network and your firewire drive is mounted as /media/SEAGATE of course, you shouldn't have any problems, besides griding the network to a halt perhaps.
find
- Michael T. Babcock (Yes, I blog)
Just as 640K of RAM is sufficient.
Worse, you get bugs like this when a developer starts thinking, "Oh, nobody will ever copy more than X files, so I can use an integer variable here..."
I know what you're saying, but I think you're saying it wrong. You surely don't mean that a developer should use a float or a double precision float as a counter. Maybe an int64, but there's absolutely no way that anyone would ever copy 2^32 files, let alone 2^64.
What they *don't* want to do is say "Oh, I'm just going to declare an array of char* [MAX_FILE_COUNT]" and then not check to see if there are more than MAX_FILE_COUNT files being copied.
There are very good reasons to use simple integers for counters and to set practical limits on things like this. The key is to check and to *enforce* the limits. Obviously something like a counter in a file transfer operation isn't going to need to be very high performance, but using the wrong data types can have a serious performance impact if you don't know what you're doing. Also, I've written code that won't read textures larger than 2^15x2^15. It's an entirely artificial limit, but I don't see a need for 32,768x32,768 textures any time soon. Maybe in 10 years there will be displays and hardware that can actually *use* textures that big, and in that case my code will just say "oops, I can't handle that," notify the user, and exit.
Yes, completely off topic, but I get tired of hearing the "developers should X" line with no perspective.
--Jeremy
Jesus was a liberal
Yes; I have verified on many machines and gave up on copying very large video files on Wiin2K. Always corrupted NTFS after more than ten 2GB or larger files were copied. Not sure if it happens on XP. Can anyone confirm if you can copy hundreds of multi GB files on XP?
Yes, Windows supports soft links.
What does that tell you? Ha? Ha?
/.er. You used 690 in your equation. Completely missing to opportunity to "69"x10.
It tells me that you are definitely a
If you could reason with religious people, there would be no religious people
Of course, if you're running Win9x in this day and age, and on a machine new enough to have half a gig of RAM, you're either a geek doing it "just to see how it runs" or a masochist looking for new ways to torture yourself.
(Of course, you've now got the geek in me seriously considering trying it out.)
Redundancy is good And also good.
Have error messages gone out of style, or are the Explorer devs in denial? If the app is running up against a limit or is running out of memory to complete an operation, it should be reporting so, loudly, and providing the user with options.
More likely there was so much pressure on them to ship something that something had to slip.
The higher the technology, the sharper that two-edged sword.
The simple file operations in Windows (and indeed in other OSs) still drive me insane. If I want to move/copy/delete a bunch of files (say several thousand) stored in a deep hierarchy of several folders, I've yet to see a drag-and-drop solution which will handle this (in any OS). Specifically, if a single file fails, the entire operation is aborted, leading to tons of wasted time as one figures out what was/wasn't moved/copied/deleted. I mean it's been decades... why hasn't the technology matured? The closest I've come to a solution which allows pausing/resuming/skipping/bandwidth control/etc. of copy/move operations is a handy little program for Windows called TotalCopy (http://www.ranvik.net/totalcopy/). Why this function (a few KB) isn't built into Windows by now is beyond me.
... Real Men Of Genius.
This latest news about Vista is just confirmation that the issue has been ignored again, and eye-candy that any sane user would instantly disable because of the system hit has been implemented at the expense of system usability: form above function. Here's a little ditty I wrote when Vista previews were coming out. As pertinent now as it was then:
-
-
Bud Light presents
[Real Men Of Genius.]
Today, we salute you, Mr Impatient For Windows Vista Guy.
[Mr Impatient For Windows Vista Guy.]
While others marvel at an operating system whose primary repair
tradition is a complete wipe, you just can't wait for more of the
same.
[I just love my Long Horn!]
Yes, it lacks security, efficiency, speed, heck, just about
everything. But ever since 1985, when you first jammed your floppies
into that curvaceous 186, you've been enraptured with Windows.
[It was five and a quarter inches!]
Despite the fact that it requires an array of Crays to run already
invented technologies at sub-optimum speeds, you will beat the rush
and see Notepad and Clock run in CPU-crippling GPU-hogging
translucency.
[It turns on all my pixels!]
So crack open an ice cold Bud Lite, oh Chevalier of the Control Panel,
because whilst the rest of us wonder what Vista will bring, you
already know.
[Mr Impatient For Windows Vista Guy!]
Bud Light beer. Anheuser Busch, St. Louis, Missouri.
I can just imagine the warteam conversation:
Test: File copy fails after 16K files! We can't ship like this!
Dev: The fix is easy and I can have it in tomorrow.
PM: 16K files? Only music pirates are gonna hit this. If anyone else sees this problem it goes away with a reboot, right?
Release Mgr: Won't fix!
Windows has never been able to copy a large number of files. I've been trying to copy millions of files on windows boxes since 1997 and it never worked. Explorer usually just hangs, I guess OOM is an improvement. Install cygin. Use rsync. Done. Also should point out that you have to move folders like 5 times in vista before they finally move. No errors, source and destination remain partially copied over. Probably the same bug.
Not really. This blog post got me out of Vista quite handily.
We're all hypocrites. We all have hidden parts, it's the contrast between them that make us more a hypocrite than others
With as slow as Vista is at copying files, it would take months to copy 16,400 of them.
If you could reason with religious people, there would be no religious people
By "actual functionality", do you mean the ability to execute another program? My Windows XP systems do that just fine, and yes, they talk just fine to "server class" OSes.
If you mean something else, I'm curious what shell you use.
Exactly! Just lop enough significant figures off and you'll get back to the 2K bug conspiracy with 8.3!
Task Manager also has some process names hardcoded into it that it wont let you kill, for example, csrss.exe.
Microsoft can't do math, remember? Just like excel2k7, When window counts the number of files and come up with 16400, it miscalculate to 1,000,000,000...no wonder the leak.
The only possible interpretation of any research whatever in the 'social sciences' is: some do, some don't
Where are you shopping? Dell, HP, and Lenovo all offer XP on their laptops.
Well, consider the following situation.
I will admit that if you're copying extremely large files from disk, a multi-threaded file copy probably won't help much. However, if you are copying many hundreds of files of varying sizes, it makes a large difference. There will be more IO requests being processed by the OS. Now, modern OSes optimize IO requests by various criteria, so essentially, it can order the hard drive to seek in a more intelligent manner and therefore improve throughput.
Additionally, you could have many threads copying the same file, just in different chunks. Since a large file is extremely unlikely to be stored on the HDD in a completely non-fragmented and sequential fashion, the above argument applies.
You are still limited by the IO speed of the HDD, but you can substantially cut down on seek times with multithreaded file copying and intelligent IO requests. And considering that in many cases it takes longer for an HDD to seek than to read a block of data, the time savings add up in a very large way.
I think, therefore I am an Atheist.
When I upgraded my machines in 2003, I had Win98 on both of them. One has 512MB, the other has 768MB. Under Win98, they were both unstable. I upgraded one to Win2000 and the other to WinXP. They're both stable, and work just fine.
Remember that not everyone goes out and buys a new computer every time Best Buy says you should.
---
ECHELON is a government program to find words like bomb, jihad, plutonium, assassinate, and anarchy.
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.
Not true with XP, probably not true with Vista. I have seen this bug in earlier versions of Windows, however. I have also seen earlier than XP Windows versions fail to copy large numbers of files (around 3,000+ or so for Win98SE, if memory serves) and not tell the user that some files were not copied. XP seems to have fixed this staggering deficiency, but the "preparing to copy" waste of time is a seriously stupid thing in itself. PKZip for Windows had something similar, last I tried it. Very weird, especially when you provide PKZW with a file mask -- it should have just started zipping away (as the cmd-line version would).
There is still a place for cmd.exe based file operations, to say the least.
I come here for the love
Yeah, they actually did, and in virtually exactly that manner, too, with also allowing you to "Take this action with all further conflicts". It even lets you select which file to use when overwriting files of the same name in a more logical way (lists both files as clickable selections with their dates, sizes, and other attributes right there) It's kind of neat, but then you remember you're using Vista and it kind of takes the wind out of your sails in more ways than one. I know I felt rather dirty the first time I'd seen Vista actually do something intelligent after my standards were set horribly low after launch; More specifically, the "Search Windows Update for Drivers" portion of the device manager actually works now, and on obscure hardware, too.
Screw the rules, I have green hair!
Someone else in this thread mentioned CachemanXP. This non-crippled shareware allows you to limit the amount of free RAM XP uses for file caching (and has a nifty "kill" option, for when you absolutely positively wanna toast the sucka -- the reason I checked it out).
I come here for the love
So THAT'S what the problem is?! Jesus Christ.
You know what makes that worse? There's no easy way in Windows to tell what has the damn file locked, without Process Explorer.
Well, TFA mentions a specific A/V was running and is known to exacerbate the problem.
Nonetheless, there are issues. For example, not only is the second graphic not related to the first by OS version, it is not related by file copy differences. The video shows 3,809 files being copied, whereas the graphic compares 66,139 vs 17,899 files. 66,139 - 17,899 != 3,809. [And 32 minutes elapsed between the screenshots, but the file copy took about 3 minutes. Etc.]
I come here for the love
Or more like anywhere between three to five reboots away . . .
A World in a Grain of Sand / Heaven in a Wild Flower,
Infinity in the Palm of your Hand / And Eternity in an Hour.
no one needs more than 640p.
Domestic spying is now "Benign Information Gathering"
It's a trick.
Some MS developer is trying to get information to fix the code.
The answers are:
Estimate remaining time. Yes, I have been forced to do this. I prefer letting them know how many files I applied the operation to and how many remaining.
"How do you handle infinitely recursing soft links?"
Easy: infinitely recursing bug fixes. (I get paid by the hour until it's fixed.)
Actually, you error if you can not find the file within x number of iterations. Also, watch where you are traversing the link to.
That's off the top of my head without really thinking about it. I am sure there are better ways that I don't remember.
The Kruger Dunning explains most post on
probably redundant, didn't bother to read comments to find out
I had this problem and it was driving me nuts. It is not a Vista problem. It is a Kaspersky problem that Kaspersky doesn't want to deal with (all other AV products work 'fine'), so quit whining about how horrible Vista is. It apparently has something to do with the way KAV keeps files in memory to scan before allowing them to be written to disc.
The hotfix should be open to everyone, but oh well. It takes two seconds to submit the request and they got it to me in about 1 hour. Now I can tell when I hit the 16,4---whatever limit. There is a kind of balk to the copy process, and sometimes an error which requires clicking "Try Again" once or twice. IT happens only once in the copy process, even if you multiple of that magic 16,blahblahbah number.
It's a shame that Open Source chooses names that turn most people off.
If you want news from today, you have to come back tomorrow.
Simple.
Get a Mac.
Problem is, many laptops don't have XP drivers. For example, the Dell 1720 doesn't have graphics drivers for XP.
It's not exactly rocket surgery.
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. The strange thing is, both of these are idiosyncracies of the explorer.exe shell. Both of these things work fine from the command line from within windows, and if you want lots of move/copy options, you use xcopy.
Which is sad, because clearly its not required for the OS to have these problems, but they exhibit these problems in the GUI shell, where the vast vast majority of people will encounter them.
FYI, you have alot more control with XCOPY.
/? /V Verifies each new file. /C Continues copying even if errors occur.
C:\>xcopy
For this kind of stuff, where its important that the copy goes right, or complains, then use another more appropriate tool, like XCOPY or (even better) ROBOCOPY.
Both of these are freely available tools made by MS for windows, and will give you much more reliability in what you're doing.
Honestly, how can [Cancel or Allow] anyone co[Cancel or Allow]py that m[Cancel or Allow]any files anyway?
From the KB article describing the problem, ie TRFA (where R = Real):
http://support.microsoft.com/kb/942435/en-us This problem occurs because of a memory leak in the Windows OLE component. This memory leak is triggered by the way that Windows Explorer deals with the extended attributes of the files. This is 100% in the shell and UI layers, not in the kernel.
I remember not even Win95 could copy lots of files... Win98: The same. Win2k: The same. WinXP: The same. 12 years and still the same problem? I really don't remember about Win3.1 or Win286... If ever the Windows code gets open-sourced, lots of programming hackers are going to laugh for years upon seeing the buggy code, I am sure. How come people now have alternative choices and still use a buggy closed-source OS is beyond me. Poor Windows users... (happily posting from Debian GNU/Linux 4.0 amd64 etch + some lenny).
Well, if you take a number and substitute the first occurrence of a each unique digit, and replace it with an L, then the subsequent occurrence with an O, then back to an L for the next, and repeat ad infinitum, and then use this formula on 666, you get LOL.
What do that tell you?
6666666!
https://www.eff.org/https-everywhere
why yes, I'd love to have transparent ssh connectivity to a variety of servers out there from the cmd prompt under windows. I've yet to see anything remotely approaching it (putty and its ilk do not count, it's a GUI program masquerading as a text screen.)
Heck, I'd like the ability to use a forward slash instead of a backwards slash (that's the universal escape character, not a path separator, and something MS should have given an option to change more than a decade ago when CPM, DRDOS, PCDOS, and OS/2 all fell by the wayside). And no, Cygwin certainly doesn't count, a yugo is a yugo....
And just in case you're thinking "Vista provides 'x'" that entire sentence or any like it is a non-starter as soon as "Vista" is included. An OS that cripples network connectivity because an audio file is being played or that becomes entirely unreliable once 14,600 or so files are copied is unreliable (in case you're wondering, every build I do today copies over 5K files, and a setup/SVN installation is about 3 times that. So that limitation immediately renders that "OS" entirely useless. In fact, it reminds me of the last MS clusterfuck foray into the server world - The Windows NT 4.0 page counter mismatch (fixed in 4.0 SP1, guaranteed corruption of memory/files/OS once you paged past 20 bits, kernel counter was 20 bit counter, memory counter was 32 bit.... oops) Oh, and should I also mention that SP1 won't include a fix for this "minor" issue?
Can we say "MS Who?" (You will be in less than 10 years.)
The cesspool just got a check and balance.
So you're saying you are too god damn stupid to consider multi-threading file copies?
You may have been coding for 25 years but that doesn't imply that you are any good at it.
Let me think, ummm, the RAM and CPU are much faster than the disk. No matter what you do, the disk will be the bottleneck. So, Do I create threads and more OS context switches for something that isn't going to be any faster, and may, in fact, be slower and cause other programs to be slower? I don't think so.
Bingo. This is what separates the "coders" from the "developers." And for the record I've only been professionally writing software for about 6 years now. Though I started "coding" when I was a kid [e.g. 20 years prior].
/. hehehe.
The Ad hominem level here is ridiculous. I'm sure glad you feel comfortable impugning someone of whom you have no knowledge.
I like this the best:
Very likely it's just some extra data allocated per file when there is a hook [like AV] involved that isn't getting freed. As others pointed out copying files sans-antivirus seems to work just fine.
A guess about what it might be, then:
This is what debugging skills are about. Diagnose, differentiate, and reason. Don't just guess and then post flamebait on
And you see no irony?
Yes it does work for Win9x machines: using a ram drive for the swapfile, but hard to do on XP as the utilities aren't easy to find. I did find one ramdrive app that worked, but maxed out at 32mb which was useless.
Don't be apathetic. Procrastinate!
You're conjecture, while interesting doesn't really work on systems with file system caching that can do "scatter gather" at the file system and kernel level. The optimization happens behind the scenes.
At least for the last couple decades, the disk will ALWAYS be slower than the CPU and RAM, so no matter what you do, it will spend time waiting, and it doesn't make sense to introduce more context switches for the multiple threads coping to the same I/O bottleneck.
As for seek times on hard disks, that is so unpredictable. Modern hard disks only present cylinders and heads to the controller, most of the time there is bad sector remapping, internal sector redundancy like RAID, and other things that make modern disks "storage subsystems" almost completely divorced from the physical characteristics of a hard disk.
This is what makes this an amateur level mistake. Sure, OS,shell and tool creators make mistakes. But what is absolutely critical for a professional product, is reliable, visible and meaningful error reports. Without them you can corrupt your data and notice only a long time later. This is completely unacceptable.
What mystifies me is that MS gets away with this stuff. They are producing a toy and for a toy, Winwos is pretty usable. But for anything that needs to work reliable, Windows is unfit. Seems to me too meny people do not undertand that it does not have to be like this and that there are alternatives ou there that meet professional standards.
Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
I call B.S. "Vista is crap" and "Vista sucks".. yeah yeah... but there's something else wrong here. I read mention of a possible virus scanner above, which may be the case. But I KNOW this doesn't affect a plain ol' install of Vista. I copy _tremendous_ amounts of data on a regular basis. I copy (Just using explorer, file by file) entire drives from different systems every few days onto my NAS box through my Windows Vista 'Business' PC. I've NEVER had an issue running out of memory (2GB RAM). In fact, just recently, I copied 29,912 files (70GB) from my girlfriend's XP computer using Windows Explorer in Vista. It copied just fine to my PC. Then I fired up her new Vista Home Premium laptop and copied those files over the network using her Windows Explorer. Everyone wants to rag on Vista - and yeah, it might be 'too little, too late' - but it works and plays well. It looks elegant and polished and it works almost no differently. Sure, there are applications that don't work well or at all in Vista, but who the hell expects _every_ software title to work with the successor to a SIX YEAR OLD OS? Give us (especially me) a break! ;)
Zero hang ups. Zero issues. I rest my case.
Fact: Everything I say is fiction.
(Although admittedly I still have my old XP PC sitting here so I can log on to it when I need to get some actual admin-type work done...)
sarchasm ('sär-"ka-z&m) : The giant gulf between what is said and the person who doesn't get it.
;)
Mod GP +1 Funny, he's lost my mod now. Incidentally, the first three digits of my uid are 640...what are the chances?
ZDNet is reporting that not only does it run out of memory after copying 16,400+ files [...]
...
Okay, here is the solution that should work:
sh -c "ulimit -v 500000; explorer.exe"
Oh, wait
Oh ffs Gates never said that!
"Yeah Tommy, before Zee Germans get here
Nah, it is not a legitimate bug, it is a known bug.
It is still present in Solaris as of this writing (at least in the version we got here).
GPL Solaris might fix it.
Patents Drive Free Software as Hurricanes Drive Construction Industry
and then you take the 640, divide by 2, get 320, remove the last 0, and get 32, the reverse of 23.
Then you multiply 23 by 30, get 690, take 42, reverse it to 24 and subtruct this from 690. You get 666.
What does that tell you? Ha? Ha?
And if you add upp all the digits in the number 1 + 6 + 4 + 0 + 0 = 11
And 11 is 3 in binary.."The Holy Trinity" Mening that this bug signifies the war between good and evil..
echo '[q]sa[ln0=aln80~Psnlbx]16isb572CCB9AE9DB03273snlbxq' |dc
actually this is one of the nice things about installing windows on a mac. you install windows (which involves one reboot) and then you install the apple drivers (I don't think this requires a reboot and it certainly doesn't require more than one). Contrast this to most PCs where you have to install loads of drivers seperately and often need to reboot in between.
note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
Reduce the amount of memory that is installed in your computer to 512 MB or less.
to be fair to MS that is the third workaround in the list and the first one (setting a size limit on the vcache) is far more sensible.
note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
imo a file copier should not have any need to count the number of files for anything other than non critical status display in the first place.
note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
This explains why does the business market is refusing to adopt Windows Vista. "Where are those TPS reports???? Did you copy them?"
BTW I recall the old days when I had a Disk Operating System instead of windows I'd took for granted that vista had to be an improvement over that but I was wrong.
I prefer letting them know how many files I applied the operation to and how many remaining.
the problem is to even do that you have to build the list of files to copy in advance of starting the copy.
note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
or you could just buy with vista buisness (or ulitmate if you like throwing money away or you think you might want to go back to vista later and you want the extra features) and excercise your downgrade rights to XP pro. This method is almost certainly easier than trying to extract a refund from MS and also means you can upgrade back to vista in the future.
Sure you are technically paying for vista but I don't think there is any significant difference in price between XP pro and vista buisness for OEMs.
note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
I can't copy that much files!
[cancel] [allow]
Just put the think in the box and return it to the store.
I think you need to get your "think" back from the store and unpack it again.
>...why would anyone want to copy 16400+ files?
Clearly a man who never backs up his pr0n collection.
I want a list of atrocities done in your name - Recoil
Vote with your cash; Choose a Laptop from a corporation that let you choose XP, or maybe a Linux-dist if you already own a XP-license.
/.Mattsson - My native language is not English, so please don't whine over linguistic errors. (That's lame anyway...)
Well we know that it's running out of memory. So it's a memory leak. Diagnose. Differentiate. It happens when there are hooks into the file system (e.g. in this case an AV is present). Reason. Likely since we're running out of memory when an AV is present, it has something to do with how the OS passes data to the AV and does not free it.
True, I'm just speculating, but it's a lot better reasoned than what the other poster came up with. Since the problem doesn't occur when an AV isn't present, it likely isn't a "multi-threaded" issue. If that were the case it would appear with or without the AV.
And my "attack" is based solely on experience. There are far more coders out in the wild than developers. If you can't tell me the difference between testing and verification, you're not a developer. If you can't describe a very modest design process, you're not a developer. etc. If you look at the quality of the vast majority of software, then say "why on Earth did they write it this was?" It was likely a coder who wrote it.
Not saying coders are stupid, but they solve problems in a very different way than developers. A developer solves a problem by analyzing the problem, gathering requirements, devising methods to test and verify the solution then implements it. A coder solves a problem by "writing just enough code" so the problem goes away. Coders for example, tend to write less modular code (e.g. reusable) than developers because they don't plan ahead to think about what could be re-factored and broken up. Coders typically don't write libraries for example. Writing a good library means you have to think about how other developers/coders will use it. It requires you to follow a design, do things sensibly without a vast re-invention of the wheel all the time, etc.
That being said, there is a need for coders in business. A good coder isn't stupid, they have experience and know how to turn a design document into software. But as I said, there are a lot of mediocre coders out there as well who are basically one step removed from being script kiddies.
Someday, I'll have a real sig.
Not only that but many new disks introduce variants of NCQ which allows the controller to optimize requests based on locality. So likely the majority of seek operations are being optimized out at that level.
Tom
Someday, I'll have a real sig.
...I've put in two Vista boxes (Dell preloads, but *clean* preloads) and both have exhibited similar symptoms. One one, unzipping a 12mb zip file took *twenty seven minutes" to complete, which I'd expect to take around 5 seconds on XP. During this time whilst I was sitting there tapping my fingers the progress bar stuck on "estimating time to copy" for the majority of it.
Copying files from SMB network shares is similarly slow: incredibly slow to mount, and glacial to copy. There's an MS hotfix available if you call PSS that purports to fix this, but I didn't notice an improvement. Turning off automatically generate file previews might speed it a little, but there's something very broken in the world of Vista file copying...
cpt.Obvious, is that you?
..he'd have put the video & ROM at the bottom of memory and let general purpose memory start from wherever this finished. That way general memory could just continue on up no matter how much you put in instead of having to dick about with a load of page switching nonsense to avoid the top 384K if you had more than 1Meg...
"I'm sailing, away
I talk about stuff.
Personally, I use a bootcamp partition with Parallels, but since the original Windows install, I've never actually booted the Mac into Windows.
I talk about stuff.
It was an OLE memory leak...which creates a great problem with a new O/S, potentially costing thousands of dollars or even millions if exploited by hackers.
The OLE mechanism is written in C/C++, isn't it? well, many thanks, again, for these wonderful languages that have made our life an adventure.
(when humanity will get to grips, we will perhaps use a more sane programming language for our O/Ses and services).
With all the Vista bashing in this thread, I'd like to say something nice about it: It looks pretty.
It may not be absolutely correct (note that there is humour there), however, it hits the nail on the head.
Exactly why does Explorer need to 'verify' before deleting?
You have a sick, twisted mind. Please subscribe me to your newsletter.
I had a Bootcamp partition with a perfectly working version of XP pro that I used for about three or four months. Rebooting is fast. Rebooting into OS X takes about 15 seconds, and booting into XP is pretty quick (in spite of XP) taking about a minute or so until you get a fully working desktop. So I downloaded the Parallels 15 day trial. Worked pretty well, but definitely isn't as snappy as Bootcamp, but barely noticable. Then the trial period ran out on Parallels. I didn't really want to buy it, because I liked the speed of Bootcamp better (and many games didn't work in Parallels at that time). So I rebooted into XP and get the error: Windows could not start because of an error in the software - load needed DLLs for kernel. It seems that the Parlallels demo disabled something needed to boot up XP once the demo runs out.
So I ran out to the Apple Store and bought a fresh copy of Parallels 3.0 and it didn't undo whatever the demo did. Now I'm stuck, because my XP disks are in the UK and my household goods won't be here until December. I guess I have to call Parallel's tech support (because the Apple 'Genius' didn't want to take a stab at it, even though all I was asking is if others have had this problem). I hate tech support. Anyone have this problem? Is there a windows bootup key that I can hold down to get more options?
In anycase, I've used Parallels 3.0 on other machines, and their gaming support is still "optomistic" at best. Bootcamp, on the other hand, works great for games. Warcraft runs with the same FPS in Windows mode as it does in Mac mode, for example. for the record: 20" Intel iMac (white), 2.33 Ghz Intel Core 2 Duo, 2GB 667 MHz DDR2 SDRAM, ATI Radeon X1600 256MB video Thanks, and now I'll get back on topic.
True, I'm just speculating, but it's a lot better reasoned than what the other poster came up with. Since the problem doesn't occur when an AV isn't present, it likely isn't a "multi-threaded" issue. If that were the case it would appear with or without the AV.
I have not seen that it documented that does not happen without AV
And my "attack" is based solely on experience. There are far more coders out in the wild than developers. If you can't tell me the difference between testing and verification, you're not a developer.
This is the pot calling the kettle black. We have neither code nor internal documentation, without in-depth analysis of the problem with a good debugger and tracing the execution, everything else is speculation.
I have no issue with your description of "coder" vs "developer" per se' but I think you miss something bigger. "Coders" and "developers" are a method of pushing computer science into the realm of blue collar work. Perhaps in this day with most of the important work behind us, at least is seems that way, programming is nothing more than a trade, certainly the current state of the industry shows that, but there was a time when "programmers" understood things like hash tables, trees, recursion, clock cycles, CPU caching, instruction execution time, I/O, etc.
Now, guys with a couple years working in the field with almost no education (not necessarily school mind you, but education such as books and basic curiosity and research), feel completely comfortable impugning people in place of proper argument.
In my book, if you have to insult, then you've already lost the argument, you just want smear the person who beat you. Smarter people see through this tactic, stupid people buy into it.
Just put the think in the box and return it to the store.
I think you need to get your "think" back from the store and unpack it again.
Oh look! someone who thinks it is witty to pun a typo!! I bet you'll commemorate this day in finger paint.
Get a life.
...Furthermore, contrary to the typical uninformed beliefs of OS X and Linux users, Windows has a relatively functional command interpreter and scripting. I don't personally like the scripting language, so I just install perl and use that instead. Works just fine most of the time. Certainly not as feature-rich as a BSD-derived shell, but functional enough for what is otherwise a consumer-grade system focused on simplifying computing tasks for end users. I'd disagree. It's so brain-dead that it becomes next to useless. The only reason I still use it is because explorer itself is so fubar'd at this point that I sometimes need to use the shell to see a directory's contents within a reasonable time. The ability to run another library within it is irrelevant, as I could just as easily say you could run Cygwin... Hey, look at that, I did.You can. In fact, I always do. The only exception is if you use UNC paths. The ability to use forward slashes is so inconsistent that you're better off using backslashes everywhere on a windows system. But the ability to sometimes use them isn't the point. The point is that the backslash was an incompatibility introduced consciously into DOS and propagated throughout MS's OS line and could have at least been settable with the advent of NT.
XP doesn't do either of those things, and Vista is widely criticized both inside and outside the Microsoft user base. I believe that segment explicitly addressed Vista, not XP. Nice red herring. I love how your ilk are so typically ill-informed about the things you hate. Maybe before you insist on criticizing other systems, you should actually use them first. I have to help support OS X machines for our print ad guys, Windows machines for everyone else, and I use BSD machines to build web apps and manage the servers that are my responsibility. They all seem to work just fine for the things they've been built to do, but maybe competently running an IT department with a blind eye to arbitrary things like who's company logo is on the box is just something M$-loving astroturfers do, huh? I love your assumptions. My weakest OS is Irix, followed by HPUX, BSD, Linux, and Solaris, even though I own boxes that are currently running 3 of those at home and have worked with them for the past 13 or so years. And yet they're my weakest OSes. So perhaps I'm not astroturfing MS, but actually may have a background peppered with MS failures and even been the victim of a strong-arm tactic or two of theirs? Naah, that couldn't possibly be the case since some small network admin claims competence over sharing some printers and a web app or two.
Perhaps one day I'll detail some of MS's shortcomings in my journal. Then I can just point to that whenever some troll comes along.
The cesspool just got a check and balance.
> Contrast this to most PCs where you have to install loads of drivers seperately and often need to reboot in between.
Amazingly, most of them don't demand you reboot before installing another driver. They ASK you to reboot, but you can say "no", install the rest of your drivers and software, and reboot once everything is done -- if you want. You can usually keep going without even that reboot. You don't have to mindlessly click "OK" every time a dialog box comes up.
I would imagine the OP was thinking of 65535, the maximum number of different values that can be represented by a 16 bit integer.
http://www.mhall119.com
Long answer: see "Short answer"
What's purple and commutes? An Abelian grape.
It's a memory leak related to large NTFS alternate data streams, not any fundamental limit. If you're not running Kaspersky (which attaches data streams to every file) and you don't specifically use alternate data streams, it shouldn't be a problem.
What's purple and commutes? An Abelian grape.
Great. Now if they could just provide an option for resizing the desktop wallpaper without adjusting the aspect ratio, I'd actually have a reason to like Vista.
Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
Oh, you've found that too?
http://shotgun.shacknet.nu:81/copy.jpg
Haida Manga
What's purple and commutes? An Abelian grape.
What's purple and commutes? An Abelian grape.
No. When removing a file, Windows will always tell you beforehand if you lack disk space for the operation. It is a feature, stop complaining.
Rethinking email
Whereas you seem to get off on belittling other people for daring to make a joke. Get over it, troll.
Not to disapoint you, but soft-link recursion is a solved problem. You simply manage them differently from hard links and it becomes easy to detect cycles at the directory graph.
But for copying files, you simply copy the soft links. Why did you even consider parsing them?
Rethinking email
I never said it was not a solved problem. I said it was not trivial, like the original poster thought.
Whereas you seem to get off on belittling other people for daring to make a joke. Get over it, troll.
A joke? Seriously? If one can not fight back after an attempt was made to insult, then insults should be stopped. And you have the nerve to call me a troll.
I've looked at the system and the cpu usage is medium, but disk i/o goes to 100%. Even though DMA is pretty fast, IDE disks still generate a ton of interrupts to move the data. Especially when you are using a journaling file system.
In my computer there's no swapping going on, it's all the switching from protected mode to user mode, and managing interrupts. Remember that an OS can nicely switch from task to task so we see a nice, responsive system. But it CAN'T ignore interrupts while it finishes drawing your window. That's why they're called 'interrupts' :)
Linux is a little better, but copying lots of files will drag the system for similar reasons.
If disks weren't so 'fast' it wouldn't be a problem. But when your disk can move 20MB / sec through the system, what else does the cpu have time to do?
I tried to think, but nothin' happened!
You underestimate the amount of turnover at a company like MSFT. I suspect the true "in the blood" comp.sci nerds at MSFT are not working on explorer.exe or kernel32.dll, etc.
Which is why a lot of the seemingly simpler things are routinely getting done wrong.
Someday, I'll have a real sig.
--BACKUPS ARE YOUR FRIEND - he says, With (4) fingers pointing back at him - after JUST reinstalling Win2kPro IN A VM because it sh1t 1tself... ;-)
--Seriously, I'd be interested in your resolution of this problem. Call PL's tech support; and in the future, always do a DD (or the like) of your partition before messing with it...
.
== WolfriderV6 == I'm willing to admit that *I just might* be wrong... Are you??
--Hey, thx for the CachemanXP plug. I'm gonna try it out on my p750 Dell laptop and see if it makes a diff.
.
== WolfriderV6 == I'm willing to admit that *I just might* be wrong... Are you??
That doesn't mean anything. That's the sort of thing people say when they're just making up fake problems to blame on Windows because it's Windows.
FUBAR = Fucked Up Beyond All Repair/Recognition - take your choice. I've listed a couple of ways it's broken already. Here's another one - the explorer clippytized "search feature". It doesn't. Worked pre-XP.
Baloney. It supports piping, redirection, echo on/off, command history, etc. etc. You can even simulate backgrounding of applications by simply calling command.com and passing your app to be "disconnected" from the "shell" as its argument. If you want to actually daemonize a process, you can do so with the built-in VB scripting.
The laughability of MS's shell's scriptability is well-documented.
It's not inconsistent at all. You can use forward slashes anywhere that you're not using a UNC path. Windowss will happily work with either directory separator. If you use forward slashes in an argument, you just have to quote the argument
Hmm, the quoting does work, but you lose tab completion. It's still a hack and windows obviously doesn't "happily work" with either separator. Thanks for pointing out the effect quotes though.
It's not a red herring and I suspect you know you're lying about it being one. I specifically pointed out that XP was a valid alternative to Vista's inadequacy. YOU brought up another Vista inadequacy, pointlessly, when nobody had even attempted to invalidate your original complaint about it.
I brought it up in order to prevent the argument that "Well, Vista has x" in relation to a new shell. Whatever Vista has or does not has is irrelevant as it is not an option due to other failings.
Too rich.
And, of course, no fanboy breakdown would be complete without trying to dismiss a documented series of misinformation and poor understanding by simply calling the adversary a "troll" in a vain attempt to be the last comment on the subject in the hopes that everybody will see that and just ignore the rest of the thread. I doubt someone is going to read the last line and think that's it.
- You confused a "terminal", a "shell", and a "command interpreter".
Nope, not at all. Maybe you did, but I certainly did not. I did state that OSX's "Terminal" (quotes included, as it is the name Apple gave to their application that embodies the shell/command interpreter) as being far superior to MS's Command Prompt/Command line, whatever you want to call it.
- You didn't know that you can use / as a directory separator in Windows - something that has been true for many, many years now.
I just clarified that yes, it's still broken. Next:
- You made an arbitrary claim that your copy of explorer is "FUBAR"ed, whatever that means, but didn't explain how it came to be that way, what you're doing with it, when it occured, or what might have trigger this non-descript, mysterious problem.
It's inherently broken on every copy of XP. I've actually had it BSOD the machine when attempting to view a directory with only about a hundred large zip files. The search feature is also broken.
I don't think you have any idea what you're talking about. I think you're like a lot of other anti-Microsoft zealots: you heard a buzzwords about OS X and Linux on Slashdot and other tech sites, saw a couple of people who probably actual
The cesspool just got a check and balance.
--Running win98xx still makes sense if it's in something like a P2V Vmware VM (preferable on a Linux host).
;-)
--Running ME makes NO sense whatsoever, in *any* situation.
.
== WolfriderV6 == I'm willing to admit that *I just might* be wrong... Are you??
--I highly recommend you use something like 7-zip or WinRAR for your personal-file backups. It compresses AND can include RECOVERY data in the archive file(s).
.
== WolfriderV6 == I'm willing to admit that *I just might* be wrong... Are you??
The file copy progress indicator I'd like to see: Instead of remaining time, just show elapsed time and "n of m files copied (k errors)". When finished, if k>0, show errors and leave those files selected which weren't copied without errors.
Usage: km/h for speed (kilometers per hour); kph for very slow impulses (kilopond hours).
But for copying it is trivial.
Rethinking email
Now, that was useful. Thanks.
Yes you can. Though in all honesty, you probably dont want to pay for premium on the precision.
What you can't get is an Inspiron or a Vostro. And Dell doesnt make a 17" in the Latitude.
Of course, this is mostly due to the fact that Dell doesnt have a business class laptop in 17". They have consumer level garbage (inspiron, vostro) in a 17", and an engineering workstation (precision), but no latitude in a 17".
The deal with Dell and XP is that you can get XP or Vista on all their business class machines. And despite their marketing, that doesnt include the Vostro's.
Well... yes, I know.
:-) ) offer an explanation for this MS bug.
And 16383, which is both much nearer to what OP said and what the article is talking about, is the highest number that can be represented by 13 bits. It's not unusual to reserve the uppermost few bits for additional information, which would (well, kind of
Take 16 bits for number of files to be copied, reserve the uppermost 3 bits for something wierd, count the files copied... come over the 13 bits limit (i.e. try to copy the file #16384) -> counter jumps to 0 (the lower 13 bits) and the lowest of the 3 reserved "wierd" bits jumps to one, causing the bug to appear, while nobody checked for that condition.
For example, this can lead to DIV BY ZERO, if the total number of files to be copied (say, 20000) is being divided by the number of files already copied (which just jumped to 0 in our example).
Taskkill /f is your friend.
... but I am pretty sure its there (at least in XP Pro).
I havn't used XP in about a year and a half, though
Screenshot for you
Blog
That people have not updated to the new Beast numbering of 616.
Well I've wrestled with reality for thirty five years doctor, and I'm happy to say I finally won out over it.