Slashdot Mirror


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."

94 of 661 comments (clear)

  1. That's OK then by Sub+Zero+992 · · Score: 4, Funny

    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
  2. Billy G says by Anonymous Coward · · Score: 5, Funny

    16k files should be enough for everybody.

    1. Re:Billy G says by Seismologist · · Score: 5, Informative
      Found the quote on wikiquote:

      I laid out memory so the bottom 640K was general purpose RAM and the upper 384 I reserved for video and ROM, and things like that. That is why they talk about the 640K limit. It is actually a limit, not of the software, in any way, shape, or form, it is the limit of the microprocessor. That thing generates addresses, 20-bits addresses, that only can address a megabyte of memory. And, therefore, all the applications are tied to that limit. It was ten times what we had before. But to my surprise, we ran out of that address base for applications within--oh five or six years people were complaining.
      --
      ~ In Trust, We Trust ~
    2. Re:Billy G says by Fulcrum+of+Evil · · Score: 4, Insightful

      Funny, I thought he just bought the OS from someone else - didn't lay it out at all.

      --
      "We returned the General to El Salvador, or maybe Guatemala, it's difficult to tell from 10,000 feet"
    3. Re:Billy G says by Seismologist · · Score: 2, Funny
      I hate to reply to my original posting, but I overlooked another quote on the same wikiquote page above:

      We will never make a 32-bit operating system.

      - Bill Gates At the launch of MSX in 1983

      --
      ~ In Trust, We Trust ~
    4. Re:Billy G says by ultranova · · Score: 4, Informative

      The problem was that the operating system's facilities for addressing the hardware - in particular the screen - were so piss-poor that programmer's had to address the hardware directly in order to achieve reasonable results. There weren't even system calls to allow the software to discover dynamically where the hardware was - the locations had to be hard coded. As a result it then became impossible to move on to a new generation of hardware (with a different limit) because the old software then wouldn't run any more.

      No. That was not the problem. The problem was that DOS programs were 16-bit real mode programs. This means that they used 16-bit pointers to refer to memory locations. This is what limits a DOS program to 1 megabyte of memory, not any deficiency in MS-DOS (which it had many of, admittedly). The segmented perversion of 8086 made things even worse by making memory divided into 64kB chunks rather than contiguous.

      In any case, as time went on, most DOS programs did move to next-gen hardware, first by using EMS and XMS memory, and later by using DOS extenders to run in 32-bit protected mode. Having fixed screen memory location was never the problem, quite on contrary: it made it possible to access the video card memory directly from protected mode without having to convert a 16-bit pointer from DOS into 32-bit one.

      1) Methods to drive the screen purely by system calls, without having to be aware of the hardware at all.

      We are talking about unaccelerated graphics card here. The fastest way to use them was to write directly to memory. Going through a system call would not only have been slower, meaning no one would had used it, but required said operating system to contain some kind of graphics driver, which would had taken up precious memory space and therefore hindered every program.

      It's not as if all this wasn't known at the time. Other earlier offerings provided all this and more, but MS-DOS really didn't deserve the title of "Operating System" at all. It was a filing system and process loader with a few extra bits cobbled onto it to avoid being prosecuted under trades description laws.

      DOS is perfect for what it's designed for - a filing system for two 360 kB diskettes that takes up little memory and doesn't get in your way, and lets you get your program into the memory. Of course a system resulting from these design parameters doesn't work too well in a modern machine with 500 GB hard disk, gigabytes of memory and a dazzling array of extension cards.

      And, frankly, I doubt anyone at either IBM nor Microsoft realized that the IBM PC would still be in use, extended beyond nearly all recognition, 26 years later.

      --

      Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

    5. Re:Billy G says by StikyPad · · Score: 3, Insightful

      And arguably, they never have.

      Zing!

    6. Re:Billy G says by Nazlfrag · · Score: 3, Funny

      32 bit extensions and a graphical shell for a 16 bit patch to an 8 bit operating system originally coded for a 4 bit microprocessor, written by a 2 bit company, that can't stand 1 bit of competition perhaps?

    7. Re:Billy G says by rspress · · Score: 2, Interesting

      What a deal they made! You have to wonder what would happen if MS had to play like any other software company had to and not have a tie in to the per machine cost. When the better DRDOS came out and was really eating into Microsofts DOS sales MS dropped a windows beta on the world that when run and found you were running DRDOS told you future windows versions will not work with it, has to be the one of the greatest dirty tricks of all time.

      It was also pretty hard to believe MS when they stated that the Mac OS had little to do with the development of Windows when they hired UI Design artists like Susan Kare who worked on the Mac UI. Check out this site: http://www.kare.com/portfolio.html

      Strangely I see a lot of parallels between Apple and Microsoft during the Vista development. When Apple was developing Copeland, the next generation Mac OS, release dates kept slipping and grand features would pop up and disappear just as quickly. Apple had lost its way, which was great because Jobs came back and Copeland was dumped and NextOS was made into OS X. Which gives me the power of Mac OS and Unix as well.

      I really think Microsoft should have dumped vista and started from scratch on a new Windows OS. I think Longhorn was Microsofts Copeland and they made the wrong decision. I have two XP boxes running XP SP2 and I won't be upgrading those to Vista anytime soon. I am even running XP on my mac laptop with parallels desktop. Time will tell if they can make Vista into something better but every PC I have been around lately is still running XP.

  3. Welcome to Windows Vista by TJ_Phazerhacki · · Score: 5, Funny

    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!
    1. Re:Welcome to Windows Vista by newgalactic · · Score: 2, Interesting

      That's one of the funniest sigs I've read in a while. btw, I'm also a born-again Christian.

    2. Re:Welcome to Windows Vista by lattyware · · Score: 2, Insightful

      That's one of the funniest sigs I've read in a while. btw, I'm also a born-again Christian.
      That's one of the funniest things I've read in a while.
      --
      -- Lattyware (www.lattyware.co.uk)
    3. Re:Welcome to Windows Vista by QuantumPion · · Score: 4, Funny

      the cake is a lie
      the cake is a lie
      the cake is a lie

  4. Figures... by snowraver1 · · Score: 3, Insightful

    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.
    1. Re:Figures... by z0M6 · · Score: 3, Insightful

      Or simply left windows behind.

  5. Re:Maybe this stems from... by gbulmash · · Score: 5, Funny

    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"?

  6. No more going back to XP? by dtouchet · · Score: 5, Funny

    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(); }
    1. Re:No more going back to XP? by Anonymous Coward · · Score: 5, Insightful
      > I would have thought 16,384 would be better.

      It probably is 16384.

      "16400" is clueless technical writerspeak for "The developer said '16,384', and the style guide says to use three significant digits".

      (Alternate explanation: "The developer said '0x4000', and the style guide says 'convert to decimal' as well as 'if it's not a round number, use three significant digits'")

      There are enclued technical writers, but 16400 is so close to 16384 that it makes me suspect that the author of the MSKB article isn't one of them.

  7. Refresh of an oldie... by Anonymous Coward · · Score: 4, Funny

    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.

    1. Re:Refresh of an oldie... by Anonymous Coward · · Score: 2, Insightful

      Beautiful - got some bites too. Warms the cockles of this Mac lover's heart.

    2. Re:Refresh of an oldie... by RobertM1968 · · Score: 3, Insightful

      No, what's really humorous is that the VIRTUALLY EXACT SAME POST (substitute Linux for OSX & OS9, change a couple of the system specs - otherwise identical) was modded flamebait while this was modded informative.

      http://it.slashdot.org/comments.pl?sid=329765&cid=20999373

      Neat, huh? I love consistent moderation! Or perhaps we should ask what that says of /. mods of late? Is Linux (or Ubuntu Linux in particular) on the way out of /. mod's favs - and being replaced with OSX/OS9?

      All in all, I think it funny! As is this post! Really! I swear!

    3. Re:Refresh of an oldie... by HarvardAce · · Score: 2, Insightful

      No, what's really humorous is that the VIRTUALLY EXACT SAME POST (substitute Linux for OSX & OS9, change a couple of the system specs - otherwise identical) was modded flamebait while this was modded informative.

      http://it.slashdot.org/comments.pl?sid=329765&cid=20999373

      Neat, huh? I love consistent moderation! Or perhaps we should ask what that says of /. mods of late? Is Linux (or Ubuntu Linux in particular) on the way out of /. mod's favs - and being replaced with OSX/OS9? I normally don't feed trolls, but here goes:

      The original post (in this thread) was clearly meant as a satire based upon the post that you also dug up. The post is now showing as funny instead of informative, but often you'll find informative or interesting mods on funny posts as an additional satire, which in itself is often quite funny (e.g. seeing a clearly nonsense but otherwise funny post modded as informative is often funny). Regardless, this post is funny, not because of the content alone, but because it is poking fun at a fairly infamous post in /.'s history. It's all about intent!
      --
      Note to self: Stop putting jokes in my insightful comments so I can get something other than +1 Funny!
  8. It's because by zsouthboy · · Score: 5, Funny

    they can only send 16,000 files to the RIAA and MPAA to check, at once.

  9. Re:Actual info... by Phil246 · · Score: 5, Informative
    actually, fta:

    Although the problem occurs where users are running Kaspersky security products, it's a kernel leak that lies at the root of problem (the problem's not confined to systems running Kaspersky software, that just that this application seems to exacerbate the issue).
  10. Re:Cumulative copies! by Bill,+Shooter+of+Bul · · Score: 5, Insightful

    If you are using Vista as a server, you pretty much deserve what ever happens to you.

    --
    Well.. maybe. Or Maybe not. But Definitely not sort of.
  11. Exxon Val-Vista by roadkill_cr · · Score: 3, Funny

    Oh, the fools! If only they'd built it to let you copy 16,401 files!

  12. Re:Vista by Strudelkugel · · Score: 4, Interesting

    I have 13K+ music tracks on a backup disk. If I try to copy them with the Explorer UI, it does nothing - No error message or anything. I reverted to Robocopy, which works fine. You must be doing the same thing. Doesn't anyone at Microsoft have a big music collection to copy, or do they just use their Macs and iPods for that? ;-)

    --
    Imagine how much harder physics would be if electrons had feelings! -Feynman, maybe
  13. Re:Just wondering... by 808140 · · Score: 3, Informative

    Maybe you're backing up to an external hard drive?

  14. Re:Actual info... by philg8 · · Score: 4, Informative

    The underlying problem is a Windows OLE component memory leak. Microsoft has a hotfix for the issue at http://support.microsoft.com/kb/942435/en-us

  15. What about those of us who need high performance? by BenEnglishAtHome · · Score: 2, Funny

    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.

  16. OLE mem leak; only affects 'extended attrib' files by I'm+Don+Giovanni · · Score: 5, Informative
    According to the cited "hotfix" link, http://support.microsoft.com/kb/942435/en-us , the problem is due to an OLE memory link when dealing with files that have "extended attributes".

    This problem occurs if the following conditions are true:
      * The files include extended attributes.
      * You copy lots of files in a single operation.

    CAUSE
    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.

    --
    -- "I never gave these stories much credence." - HAL 9000
  17. Of course file management is secondary... by Huntr · · Score: 3, Insightful

    .. when your GUI is using 2 gigs of RAM.

  18. I'm a little suspicious by Sycraft-fu · · Score: 4, Interesting

    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?

    1. Re:I'm a little suspicious by coolnicks · · Score: 4, Informative
      KB 942435:

      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. Its only files with streams, and apparently kaspersky makes it wose by that fact that it tags every single file with a stream.
  19. Re:Maybe this stems from... by purpledinoz · · Score: 5, Insightful

    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.

  20. Re:Actual info... by Anonymous Coward · · Score: 5, Informative

    Actually, the bug is in the shell, not the kernel and only files with altnerate data streams trigger the leak. The KB article that Adrian links to states that very clearly, but he's been on an anti-Windows rampage lately that's blinded him to the facts.

    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.

  21. Re:Actual info... by Jah-Wren+Ryel · · Score: 2, Insightful

    If it is *just* kapersky that causes the problem, then why is MS issuing a hotfix instead of kapersky?

    --
    When information is power, privacy is freedom.
  22. not 16,400 by Spy+der+Mann · · Score: 2, Insightful

    Very probably it's 16,384, as in 2^14. I'm sure it was a hardcoded limit. So typical, Microsoft... so typical.

  23. Bad summery by gravis777 · · Score: 5, Informative
    Apparently the submitter skimmed the article, and decided to post up a Vista bash on Slashdot.

    FTA:

    The "Out of Memory" error (which is affectionately known at the PC Doc HQ as the "Out of Cheese" error ... don't ask why ...) is one of the biggest and most baffling of Vista's file handling problems has been occurs when a Vista user (running Kaspersky Anti Virus 6 or 7) tries to copy a large number of files (~16,400) Apparently its just a problem with this antivirus program running in Vista. I move large amounts of files around in Vista quite often (granted, its Vista 64), sometimes well over 20,000 files at a time, and have never run into this issue.
    1. Re:Bad summery by mysticgoat · · Score: 2, Informative

      Yes, for Vista it has certainly been a bad summery. The forecast for the upcoming wintery doesn't look so good, either.

      Pun-ishments aside, those who RATFA know that the fault is in the Vista kernel, it is consistently triggered by Kapersky, but is also triggered by other software, and by implication it is not consistently repeatable and therefore cannot be easily worked around.

      On my WinXP home machine, I routinely copy more than 16,400 files when doing a full data backup to an external drive, which I do two or three nights a week. Even if Vista was perfect in every other way, this would be a show-stopper for me.

    2. Re:Bad summery by Zebra_X · · Score: 5, Informative

      Lol the TFA is FUD. Read the HOTFIX notes which explains that the issue is with Windows OLE (NOT part of the kernel) and files that utilize extended attributes. Note that the crappy AV product adds extended attributes to all of your files (which i'm sure speeds up every file operation on your PC), thus with a kapersky infected computer - you are assured to have the problem. With "normal" files it's unlikely you will have this issue. Media files and the new office files are more likely to pose a problem than your standard files.

      The article does not state clearly wether physical memory is a constraint.

    3. Re:Bad summery by mysticgoat · · Score: 2, Insightful

      So the problem is not in the kernel? It's because the OLE chrome doesn't work right with the extended attributes chrome?

      And even so, Microsoft can't fix it in SP1?

      This news is both strange and disturbing.

    4. Re:Bad summery by shutdown+-p+now · · Score: 2, Insightful

      Note that the crappy AV product adds extended attributes to all of your files (which i'm sure speeds up every file operation on your PC), thus with a kapersky infected computer - you are assured to have the problem.
      I don't see a problem with KAV here. Surely extended attributes - one of the often mentioned features of NTFS - are meant to be used for file metadata, instead of inconsistent 3rd-party approaches (such as separate databases)? And if so, why KAV shouldn't use it to, for example, save date of last scan? It's a documented OS and FS feature used as intended; if it's broken, don't blame KAV for using it, blame Microsoft for not implementing it properly. Then again, it does work fine in XP, so it's more like they broke it in Vista.
  24. Not Just Vista by cmacb · · Score: 4, Insightful

    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!

    1. Re:Not Just Vista by Jaxoreth · · Score: 2, Funny

      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.
      Are you honestly suggesting grafting a proprietary GUI on top of BSD and selling that as a commercial operating system? That would never work.
      --
      In general, it is safe and legal to kill your children. -- POSIX Programmer's Guide
  25. Re:Maybe this stems from... by Anonymous Coward · · Score: 2, Insightful

    Where are you shopping? Most computer manufacturers still offer Windows XP instead of Vista as an option on their computers.

  26. Re:Actual info... by Anonymous Coward · · Score: 2, Insightful

    However, few other apps besides Kaspersky triggers it. Two posts up this thread you were saying that only Kapersky triggers it and you were criticising the submitter for not realising that. Now you say that a few other apps also trigger it. Care to change your story again?
  27. Re:Maybe this stems from... by LokiSnake · · Score: 2, Insightful

    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.

  28. Re:Maybe this stems from... by roman_mir · · Score: 5, Funny

    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?

  29. Re:Actual info... by DamnStupidElf · · Score: 4, Insightful

    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.

    So it's Kaspersky's fault that alternate data streams are apparently no longer supported by Vista, despite being a basic part of NTFS?

  30. For those that aren't getting the joke... by n+dot+l · · Score: 5, Insightful

    The original rant may be found here.

  31. Re:Maybe this stems from... by rs79 · · Score: 3, Interesting

    "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 ?
  32. Re:Maybe this stems from... by Fulcrum+of+Evil · · Score: 5, Funny

    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"
  33. Re:Just wondering... by jombeewoof · · Score: 2, Insightful

    ...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.
  34. Re:We *ALL* need to give Microsoft a dope slap by tomstdenis · · Score: 4, Informative

    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.
  35. Re:Actual info... by truthsearch · · Score: 5, Funny

    only files with altnerate data streams trigger the leak

    Well that's what you get for crossing the streams. Egon warned us. Kaspersky's risking total protonic reversal. I guess they were fuzzy on the whole good/bad thing.

  36. Oh quit whining by downix · · Score: 5, Funny

    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.
  37. Re:Maybe this stems from... by Shakrai · · Score: 5, Interesting

    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)

    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.
  38. Re:Maybe this stems from... by MiKM · · Score: 2, Insightful
    Forced down your throat?
    • Buy a copy of XP (and tell the company you bought your laptop from you disagreed to the EULA - you can get a refund)
    • Use an alternative OS (whether it be Linux or OSX or whatever)
    • Buy a laptop that has XP preinstalled (yes, companies still sell them)
  39. When will people learn to buy the cable? by Zero__Kelvin · · Score: 3, Funny

    "It appears that, incredibly, Vista can run out of memory while copying files."
    That's not really the incredible part. What is incredible is that Vista can copy any files at all without buying a special cable! This is what you get when you hack Vista and just start copying files left and right without buying the cable. If you buy the cable, it doesn't run out of memory until after 16,500 files!
    --
    Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
  40. Re:Maybe this stems from... by Anonymous Coward · · Score: 3, Funny

    We have found the first slashdot user that has no porn.

  41. Re:Maybe this stems from... by someone1234 · · Score: 2, Funny

    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
  42. Re:Maybe this stems from... by RazzleDazzle · · Score: 2, Interesting

    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)
  43. Re:Maybe this stems from... by tinkerghost · · Score: 3, Interesting

    Umm...no offense, but this isn't exactly a problem the average user is going to encounter.

    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.

  44. Re:Maybe this stems from... by Anonymous Coward · · Score: 2, Insightful

    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.

  45. Re:Maybe this stems from... by nomadic · · Score: 5, Funny

    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...

  46. Re:Maybe this stems from... by Macthorpe · · Score: 3, Insightful

    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
  47. Not really that simple in Vista... by kwabbles · · Score: 5, Funny

    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.
    1. Re:Not really that simple in Vista... by Anonymous Coward · · Score: 2, Funny

      Need to add a couple more steps.

      1a The file(s) is scanned for creation date, last access date, file type, etc.
      1a.1 If it is a known file type, it scans for metadata
                  WMA: bitrate, artist, album, title, etc
                  BMP: width, height, bpp, etc
                  EXE: Source, Author, Revision Number, compatibility info
      1a.2 If it is unknown, barf all over user.
      9a Unable to copy, file is in use, delete original file.
      14a disable undo. (Has anybody actually gotten undo to work in windows explorer?)
      15 Reboot unexpectedly

  48. "Waiter, there's a fly in my soup." by dpbsmith · · Score: 4, Insightful

    "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."

    1. Re:"Waiter, there's a fly in my soup." by Mattsson · · Score: 3, Insightful

      If other OS's do it the Microsoft way, it it still the wrong way.

      First you implement and fix basic OS functions, like file copy, etc, so that it works correctly.
      Then you implement and fix fancy stuff that most people want and use so that it works correctly.
      Then you implement and fix fancy a few people want and use so that it works correctly.
      Then you go about implementing and and fixing stuff that almost no one use.

      Implementing all at once in a way that doesn't work, then fixing fancy stuff most people use, then fixing basic OS functions, then fixing what a few people use, is the wrong way to go about it.

      --
      /.Mattsson - My native language is not English, so please don't whine over linguistic errors. (That's lame anyway...)
  49. Re:Maybe this stems from... by Capt+James+McCarthy · · Score: 4, Funny

    "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.
  50. .. But there's no sense crying over every mistake by hendrix2k · · Score: 2, Funny

    you just keep on trying till you run out of cake.

  51. Off topic (How can you expect consistent moderatio by SmallFurryCreature · · Score: 2, Insightful

    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.

  52. Copy Music? Never by bazald · · Score: 3, Funny

    Microsoft employees buy another copy of their 13K+ music collections if they want another copy.

    --
    Insert self-referential sig here.
  53. Re:Maybe this stems from... by AJWM · · Score: 2, Interesting

    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
  54. Re:Maybe this stems from... by hoover · · Score: 3, Funny

    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/
  55. Possible workaround: Use ONE file for everything by failedlogic · · Score: 2, Funny

    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!

  56. Re:Actual info... by Foolhardy · · Score: 4, Informative

    First of all, the issue is how Explorer handles extended attributes (EAs), which are distinct from alternate data streams (ADSes). The kernel and NTFS have always provided full support for EAs and ADSes (since NT 3.1). Explorer (and for that matter Win32) has never had very good support for ADSes, and almost nonexistent support for EAs. EAs were implemented in support of the OS/2 subsystem. ADSes are the 'official' way to attach metadata to a file, and scale better than EAs. The only Win32 functions that have ever provided access to EAs are the BackupRead and BackupWrite functions which are designed to handle all metadata on a file transparently. Looking at the imports from shell32.dll to ntdll.dll on Vista, it looks like the shell bypasses Win32 when dealing with EAs, invoking the syscalls NtQueryEaFile and NtSetEaFile directly (bypassing API layers like this is something Microsoft tells ISVs is a big no-no).

    This is just Yet Another Windows 95 shell bug (yes Vista uses the same shell architecture ported through each version from Win95). It is not the end of support for EAs or ADSes. If anything, it's a belated attempt at better support, done poorly. The shell has always been, IMO, one of the lower quality windows components, especially when it comes to properly interfacing with lower layers. This bug does not surprise me. I've been using robocopy for nontrivial file transfer for a while now.

  57. Re:Maybe this stems from... by InvalidError · · Score: 4, Informative

    For those situations...

    Run -> "cmd" -> del %dir\*.* /s

    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.

  58. Re:Maybe this stems from... by DMUTPeregrine · · Score: 4, Funny

    Yes, but everyone knows one-in-a-million chances come up nine-times out of ten.

    --
    Not a sentence!
  59. Re:Maybe this stems from... by Master+of+Transhuman · · Score: 2, Informative

    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!
  60. Re:Vista by cc22dd · · Score: 3, Interesting

    I reverted to Robocopy, which works fine.
    Robocopy is the command line utility from the Win XP resource kit cd, right? That might be good for pros, but I recently found this little utility (free for personal use) called TeraCopy via Lifehacker. Once installed, this becomes the default copy handler for Windows explorer and does an amazing job. It lets you pause and resume copying, and has error recovery too. It even is smart enough to recognize if I've started a copy operation and then try to copy more files by adding the new files to the previous copy job! I have been astonished by the speed of copying large number of files between disks after I started using this. If this small company can make this efficient utility that integrates so well into Windows, I say shame on M$.
  61. Re:Maybe this stems from... by Doctor+Faustus · · Score: 2, Insightful

    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?

  62. Re:Maybe this stems from... by sbate · · Score: 2, Insightful

    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."
  63. Re:Maybe this stems from... by rs79 · · Score: 2, Informative

    Yes but it can be fixed, or rather, worked around. It's been this way for literally decades.

    --
    Need Mercedes parts ?
  64. Re:Maybe this stems from... by Nosklo · · Score: 5, Funny

    why the heck does Windows need to scan directories to be deleted before deleting them is beyond me (...) 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 The scan is to know beforehand the size and number of files before copy/delete operation, so windows can make a <sarcasm>VERY RELIABLE</sarcasm> progress bar, with a <sarcasm>VERY RELIABLE</sarcasm> estimated time that <sarcasm>ALWAYS</sarcasm> measures correctly the time left for the operation to complete.
    --
    find -name "*base*" -exec chown us {} \; ; ln -s /dev/zero /dev/chance ; make time
  65. Re:Maybe this stems from... by justthinkit · · Score: 2, Informative

    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
  66. Names by Frosty+Piss · · Score: 2, Insightful

    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.
  67. Re:Maybe this stems from... by Allador · · Score: 2, Interesting

    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. 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.
  68. Who can copy 16,400 files anyway? by r_jensen11 · · Score: 2, Funny

    Honestly, how can [Cancel or Allow] anyone co[Cancel or Allow]py that m[Cancel or Allow]any files anyway?

  69. Re:Maybe this stems from... by Allador · · Score: 2, Informative
    TFA (where A = Author) is an idiot, and didnt bother to read the KB article which he linked to on his post.

    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.
  70. Re:Honest question by petermgreen · · Score: 2, Interesting

    with XP while the activation pissed some people off only home users and small buisnesses who bought legit had to put up with it. Corps, educational establishments and pirates got a slightly different version which did not have that misfeature. Most of the rest of the bad things about XP were bugs and bloat. Bugs were fixed and bloat became less significant with time. Vista pushes it's activation on everyone except those prepared to buy big brand OEM and prepare seperate images for every brand of machine.

    but sadly I suspect you are right, apps are king and once vista is the only version of windows that is reasonablly availible people will use it whether they like it or not.

    --
    note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
  71. Re:Maybe this stems from... by marcosdumay · · Score: 2, Funny

    "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..."

    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.