Register to reply

Can I delete Win386.SWP

by Saint
Tags: delete, win386swp
Share this thread:
Saint
#1
Aug16-04, 06:55 PM
Saint's Avatar
P: 436
I noticed this file in my C:\, 300 over megabytes,
can I delete it and pose no harm to my system?
Phys.Org News Partner Science news on Phys.org
Physicists discuss quantum pigeonhole principle
Giant crater in Russia's far north sparks mystery
NASA Mars spacecraft prepare for close comet flyby
dduardo
#2
Aug16-04, 07:21 PM
Emeritus
dduardo's Avatar
P: 1,919
Swap is used to extend RAM. When there isn't enough space in RAM the computer uses the swap file on the hard drive as additional RAM.

Here is how to modify the size of the swap file

http://www.serverwatch.com/tutorials...le.php/2177271
flexten
#3
Aug18-04, 08:52 AM
P: 55
You can delete it only from DOS ... then windows recreates it. Put this in autoexec.bat :
C:\WINDOWS\COMMAND\DELTREE.EXE /Y C:\WIN386.SWP
C:\WINDOWS\COMMAND\DELTREE.EXE /Y C:\WINDOWS\WIN386.SWP

Best

Saint
#4
Aug18-04, 07:33 PM
Saint's Avatar
P: 436
Can I delete Win386.SWP

i deleted it, and it was recreated but with smaller size.
LeaNder
#5
Oct23-05, 10:51 AM
P: 4
Quote Quote by flexten
You can delete it only from DOS ... then windows recreates it. Put this in autoexec.bat :
C:\WINDOWS\COMMAND\DELTREE.EXE /Y C:\WIN386.SWP
C:\WINDOWS\COMMAND\DELTREE.EXE /Y C:\WINDOWS\WIN386.SWP
Best
Thanks a lot. So if my file is usually in the windows system folder, I do not need the first line? This is really neat, thank you.

Problem is, in my humble case, it starts up with close to the same size again. (Once after fiddling with other items I got it down to start up zero - deleted some suspicious looking files in the system folder, and prayed!) I really would like to know how to do this deliberately.

LeaNder de Cologne
xPAGANx
#6
Oct23-05, 12:48 PM
P: 50
Why would you want to delete your swap file?
-Job-
#7
Oct23-05, 09:32 PM
Sci Advisor
-Job-'s Avatar
P: 1,132
I don't understand either. The swap space is used to implement virtual memory, because your memory is finite, so when it reaches a certain level of usage, stuff needs to be swapped out so that newer programs can be allocated some memory. There are options to decrease the size of the swap file which prbably works better than the autoexec thing above which deletes the swap file when you startup.
In windows, right click on "My Computer", click the "Advanced" tab, click "Settings" under "performance", select the "advanced" tab again. Now at the bottom you should see "Virtual memory", click the "change" button to change the size of the swap file. You can select "no paging" if it bothers you so much.
pallidin
#8
Oct24-05, 08:11 PM
P: 2,292
Well, one sure way to INCREASE computer/program instability is reducing the swap file to below minimum recommended levels.
LeaNder
#9
Nov12-05, 02:06 PM
P: 4
Quote Quote by xPAGANx
Why would you want to delete your swap file?
Well for the simple reason, I don't like it getting bigger and bigger.
I am no geek, but whatever it does, Id like to understand and know how I profit from its constantly increasing size. What is stored over sessions?
Mind you I I asked my math teacher stupid questions too, like: How can parallels cut in in infinity when they are defined by having always the same distance from each other?
He had a wonderful answer for me. Do you have one concerning the swap file? Growing from zero to 200.000 KB. And then remaining at that level, ever increasing over sessions even if you only open the Explorer? That should not use much virtual memory. Its not a matter of the cache, or offline sites stored either. What else?

LeaNder
-Job-
#10
Nov12-05, 02:44 PM
Sci Advisor
-Job-'s Avatar
P: 1,132
The swap file has relevant program information which includes the program context, which is necessary to return control to the program. Deleting the swap between restarts probably won't cause any trouble. But doing it while you're running programs probably will cause exceptions and the program might freeze/crash. Consider also that, depending on which programs (and how many) you're running, the swap file can increase in size pretty fast, so deleting at startup may be of no use. Also, if you use the space on the swap file for something else, you might easily start getting warnigns like "low disk space" or "low on virtual memory". Hard drives are getting so cheap you should really consider buying a new hard drive, instead of messing around with the OS datastructures.
xPAGANx
#11
Nov12-05, 09:58 PM
P: 50
Quote Quote by LeaNder
Well for the simple reason, I don't like it getting bigger and bigger.
I am no geek, but whatever it does, Id like to understand and know how I profit from its constantly increasing size. What is stored over sessions?
Mind you I I asked my math teacher stupid questions too, like: How can parallels cut in in infinity when they are defined by having always the same distance from each other?
He had a wonderful answer for me. Do you have one concerning the swap file? Growing from zero to 200.000 KB. And then remaining at that level, ever increasing over sessions even if you only open the Explorer? That should not use much virtual memory. Its not a matter of the cache, or offline sites stored either. What else?
LeaNder
You can set the maximum size of the swap file or simply assign a static value.

I think you may run into some software incompatabilities if you delete it.

200 Megs? wow big deal. With todays massive hard drives, if that 200 meg is killing you, you need to upgrade.
LeaNder
#12
Nov13-05, 05:18 AM
P: 4
Quote Quote by xPAGANx
You can set the maximum size of the swap file or simply assign a static value.
I think you may run into some software incompatibilities if you delete it.
200 Megs? wow big deal. With todays massive hard drives, if that 200 meg is killing you, you need to upgrade.
OK I admit I should have more a more massive hard drive. But at the moment with the few programs I run my 4MB's seem quite sufficient.

But I am still pretty puzzled - that the file was once down to zero. And when it was, there were no apparent problems with any programs. And even more what caused it. It just happened after I deleted a couple of files that somehow looked suspicious. Plus the deletion did not result in any problems with software. It was back to normal pretty soon though.

Not quite sure though what you mean with software incompatibilities? I guess I am suspicious that spy/traceware can use this file or other files that I can't read due to encryption.

Concerning the heightened security threats out there with all the diverse aggressive traceware, I am not so sure if my new PC will be ever on the net.

But maybe the solution will be an external drive that is safe.

LeaNder a/k/a Kraut de Cologne
LeaNder
#13
Nov13-05, 05:44 AM
P: 4
Quote Quote by -Job-
Consider also that, depending on which programs (and how many) you're running, the swap file can increase in size pretty fast, so deleting at startup may be of no use.
yes, that seems to be true. it started out with 28.000 KB something this time and seems to have arrived at 90* something a couple of days later. With the laptop unused for about 11 days.
Quote Quote by -Job-
Also, if you use the space on the swap file for something else, you might easily start getting warnings like "low disk space" or "low on virtual memory".
If I use the space? Or if the space is used by a process?
This statement could easily trigger questions of two more mysterious phenomena. Files that mysteriously gained in size during the download process something like original file size x 10.000 or x 100.000. And maybe this is the direction you point out: message of "low disk space" with 34% of the disk empty.
Quote Quote by -Job-
Hard drives are getting so cheap you should really consider buying a new hard drive, instead of messing around with the OS datastructures.
- yes, they definitely are. I am just a very curious person traceware triggered my interest in the Microsoft entrails, even more so since my Virus and Spyware seems to be more and more at a loss in handling its deletion.
LeaNder
Hot-Text
#14
Nov7-06, 03:21 PM
P: 16
Quote Quote by Saint
I noticed this file in my C:\, 300 over megabytes,
can I delete it and pose no harm to my system?
I surprised that you delete your Virtual Memory File
  • Win386.SWP is
  • Virtual Memory
300 over megabytes is big,
Play a DVD and it can get up to 1 GB
If you like to cutdown on the megabytes
get a Bigger RAM for you Pc.
A 3GB RAM is a


Moderator edit: spam link deleted.


Register to reply

Related Discussions
Adaware to delete or not to delete Computing & Technology 16