Results 1 to 28 of 28

Thread: What would happen if I deleted my Swap file??

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2001
    Posts
    7

    What would happen if I deleted my Swap file??

    Has anybody ever done that? What does it mean if it gets really large?
    Thanks a Million

  2. #2
    denniswrenn
    Guest
    A friend of mine deleted his swap file and had to reformat 'cause his computer wouldn't boot.

  3. #3
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    I use a fixed swap file of 250mb so it doesn't get fragmented. Anyway, it's impossible to delete the swap file while Windows is running, and even if you delete it when Windows isn't there, it'll just recreate it next time round.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  4. #4
    ricmitch_uk
    Guest
    Chances are 9 times out of 10 your system will go belly-up.

  5. #5
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Just tried it. Restarted in MS-DOS mode, deleted D:\win386.swp, then restarted. No problems, and the file was silently recreated.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  6. #6
    denniswrenn
    Guest
    Originally posted by parksie
    I use a fixed swap file of 250mb so it doesn't get fragmented. Anyway, it's impossible to delete the swap file while Windows is running, and even if you delete it when Windows isn't there, it'll just recreate it next time round.
    How do you use a fixed swap file?


    Just tried it. Restarted in MS-DOS mode, deleted D:\win386.swp, then restarted. No problems, and the file was silently recreated.
    I'll talk to my friend again and ask what else he did....

  7. #7
    PowerPoster Arbiter's Avatar
    Join Date
    Sep 2000
    Location
    Manchester
    Posts
    2,276
    Parksie's right...
    Gentile or Jew,
    O you who turn the wheel and look to windward,
    Consider Phlebas, who was once handsome and tall as you...

  8. #8
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Dennis -- set the maximum and minimum values to the same thing (uncheck "Let windows sort it all out for me" or whatever it's called )

    However, make sure that this will leave you with enough virtual memory (swapfile size + physical) to run everything you need. Also, if you have more than one drive, defragment one before putting the swap on it so that it's in contiguous space (speed).
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  9. #9
    PowerPoster
    Join Date
    Jul 1999
    Posts
    5,923
    Whoever said your computer goes wrong if you delete it is lying (or at least mis-informed).

  10. #10
    Lively Member harsoni's Avatar
    Join Date
    Oct 2000
    Posts
    118
    Can ur delete a swap file??? i am not able to...


  11. #11
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    You can't delete it while Windows is running because it's constantly in use. You have to exit Windows and go back to DOS.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  12. #12
    Hyperactive Member
    Join Date
    Mar 2001
    Location
    Calgary, Canada
    Posts
    453
    Maybe the person who deleted the swap file and screwed up their system didn't have very much ram (8-16mb) in their system?

    SD
    "I'd rather have a full bottle in front of me than a full frontal lobotomy!"

  13. #13
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    I've run Win98 on 4mb so I doubt that's the case.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  14. #14
    Frenzied Member
    Join Date
    Mar 2001
    Location
    You are HERE •™
    Posts
    1,300
    Originally posted by parksie
    I've run Win98 on 4mb so I doubt that's the case.
    That 4mb....Uhhh....That's a typo right?

  15. #15
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Nope. Runs like *****e, but it runs
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  16. #16
    Frenzied Member
    Join Date
    Mar 2001
    Location
    You are HERE •™
    Posts
    1,300
    HaHa....I bet...

  17. #17
    PowerPoster
    Join Date
    Jul 1999
    Posts
    5,923
    A long time ago when about 32Mb RAM was the norm, I had a mate who had a 4mb machine. I used to joke that my printer had more ram!! (which it did - 16Mb LaserJet).

    Of course now I have a printer that's got it's own hard drive!!!

  18. #18
    Frenzied Member
    Join Date
    Feb 2001
    Posts
    1,140
    If you have a seperate partition with the swap on it (a la Linux) then you can make your system very unhappy by deleting that partition. In Windows, if you simply delete the file, it shouldn't care, it will make it again. That file is used only when Windows is running (when you can't delete it).
    Travis, Kung Foo Journeyman
    As always, RTFM.

    WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
    Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
    YBMS, but Mozilla doesn't.

  19. #19
    Addicted Member MikeHost's Avatar
    Join Date
    Nov 2000
    Location
    Missouri
    Posts
    175
    Why would you want to delete it???
    <<<<>>>>

  20. #20
    Frenzied Member
    Join Date
    Feb 2001
    Posts
    1,140
    Because you are a virus payload with orders to render a system inoperable in the most grand of manners.

    'Course, you are now a very impotent payload.
    Travis, Kung Foo Journeyman
    As always, RTFM.

    WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
    Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
    YBMS, but Mozilla doesn't.

  21. #21
    ricmitch_uk
    Guest
    Can anyone help my mate?

    He's running RAID(1) and he's lost his FAT somehow. It's not Chernobyl virus, cos his BIOS works fine (both chips on the Duel BIOS). Is there a way he can get the data off his disk?

  22. #22
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Is the FAT backup intact? If both copies are gone then you have no chance, and will need some severe trickery to get anything. You might be able to get something by looking at the area on the disk with the FAT.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  23. #23
    ricmitch_uk
    Guest
    I think the whole of partition 0 has gone, or it might be only half of it, seeing as he is running RAID striping over two HDs. Don't cops have machines for retrieving data of HDs, no matter how badly you ***** them up, as long as you don't delete and overwrite the data you want.

  24. #24
    New Member
    Join Date
    Nov 2001
    Location
    Wheeling WV
    Posts
    5

    Delete swap file.

    Nothing will happen. Windows will simply create a new swap file on the next boot. However, as has already been mentioned, you can't delete it with windoze running. Boot to DOS, (press <F8> when the pc says Starting Windows), type cd windows (if windows is the OS directory), then del win386.swp. I've done it on numerous occasions, usually after a severe crash.
    The swap file will normally zero itself when windows is shut down, but if an error occurs, it can just hang there wasting space.
    Who needs e-mail encryption when you've got the white font ?

  25. #25
    Frenzied Member nishantp's Avatar
    Join Date
    Jan 2001
    Location
    Where you least expect me to be
    Posts
    1,375
    Originally posted by parksie
    I've run Win98 on 4mb so I doubt that's the case.
    Of course you did that solely for bragging rights
    You just proved that sig advertisements work.

  26. #26
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Originally posted by nishantp
    Of course you did that solely for bragging rights
    I wanted to see what would happen

    The first time I actually tried to use anything was Win95 beta 1 on 4mb, and that actually worked quite well.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  27. #27
    ricmitch_uk
    Guest
    Contradiction in terms there Mr Parks :- Windows running well.

  28. #28
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Originally posted by ricmitch_uk
    Contradiction in terms there Mr Parks :- Windows running well.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width