mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Software (https://www.mersenneforum.org/forumdisplay.php?f=10)
-   -   A potential cause of Windows low-memory messages (https://www.mersenneforum.org/showthread.php?t=18144)

cheesehead 2013-04-27 20:53

A potential cause of Windows low-memory messages
 
Proliferation of Temp and WINDOWS\Temp files

A couple of weeks ago I started getting messages about low memory. When i rebooted to my secondary, there were no such messages. Then I looked at the free space on disks. The system disk (partition) for my primary had only about 10 MB available out of 26 GB.

I found that both the Temp and WINDOWS\Temp directory had _many_ files, totaling more than 12 GB. Evidently some warez don't clean up after themselves.

I deleted all of those, and have gotten no more low memory messages.

I would have thought that Windows would have some function or popup offering to delete temp files, but I guess there's nothing that takes responsibility for that in general. (Outlook periodically suggests cleaning out its unneeded files, even though I never use Outlook!)

Can anyone recommend a utility that will look at the Temp and WINDOWS\Temp directories to suggest cleanout?

chalsall 2013-04-27 20:56

[QUOTE=cheesehead;338565]Can anyone recommend a utility that will look at the Temp and WINDOWS\Temp directories to suggest cleanout?[/QUOTE]

Linux.

Edit: CentOS is my recommendation; RedHat for those who need to spend money (there are many reasons why this is needed). Ubuntu for new users.

cheesehead 2013-04-27 20:59

Does Linux have a WINDOWS\Temp directory?

Or are you suggesting that I boot a Linux partition in order to clean up temp files on my Windows partition(s)?

(I hope you're not just making the trivial and non-helpful suggestion that I use Linux rather than Windows. If I wanted a Linux solution, I would have asked for a Linux solution.

I'm fully aware that Linux exists. I apologize for not including "Windows" in this thread's original title.)

chalsall 2013-04-27 21:03

[QUOTE=cheesehead;338567]Does Linux have a WINDOWS\Temp directory?[/QUOTE]

No.

It does have a /tmp/ directory, but that can be managed with partitioning and quotes.

chalsall 2013-04-27 21:12

[QUOTE=cheesehead;338567]Or are you suggesting that I boot a Linux partition in order to clean up temp files on my Windows partition(s)?[/QUOTE]

First of all I was suggesting that those who run Linux tend not to suffer this kind of problem (although, as documented here, the hardware providers are not terribly nice to us -- we know too much).

But, to answer your honest question directly: yes. Booting into a Linux environment (via a separate partition, a USB drive or a CD/DVD) can be a useful way of working on a Windows file system with no chance of interaction nor interference from outside parties (including Microsoft).

If you're really paranoid, disconnect the Ethernet cable during this work.

pinhodecarlos 2013-04-27 23:32

You will find more temp files to clean at c:\users\yourname\AppData\Local\Temp

A few programs that will keep your machine clean:
CCleaner - [url]http://www.piriform.com/ccleaner[/url]
Glary Utilities - [url]http://www.glarysoft.com/[/url]

kladner 2013-04-27 23:52

[QUOTE=cheesehead;338565]Can anyone recommend a utility that will look at the Temp and WINDOWS\Temp directories to suggest cleanout?[/QUOTE]

You might find the following useful. I set up the task, and Task Scheduler showed it as running when I manually triggered it. I could not see it running by other means, however. Consequently, I'm not sure I got it right. Note the line below, "When you schedule Disk Cleanup, it will open and then wait for you to make choices before deleting files from your computer." [QUOTE] [B]Schedule Disk Cleanup to run regularly[/B]

Disk Cleanup is a convenient way to delete files you no longer need and free up [URL="mshelp://windows/?id=5a2fccaa-2424-4646-b571-97b557e2c87b#gtmt_hard_disk_def"]hard disk[/URL] space on your computer. Scheduling Disk Cleanup to run regularly can save you the trouble of having to remember to run it.
[B]Note[/B]

[LIST][*] When you schedule Disk Cleanup, it will open and then wait for you to make choices before deleting files from your computer.[/LIST]
[LIST=1][*] [URL="shortcut:%25systemroot%25\system32\mmc.exe taskschd.msc"][IMG]mshelp://help/?id=Microsoft.Windows.Resources.ShellExecuteTopicIcon[/IMG]Click to open Task Scheduler.[/URL] [IMG]mshelp://windows/?id=18abb370-ac1e-4b6b-b663-e028a75bf05b[/IMG] If you are prompted for an administrator password or confirmation, type the password or provide confirmation.[*] Click the Action menu, and then click Create Basic Task.
This opens the Create Basic Task Wizard.[*] Type a name for the task and an optional description, and then click Next.[*] To select a schedule based on the calendar, click Daily, Weekly, Monthly, or One time, and then click Next.[*] Specify the schedule you want to use, and then click Next.[*] Click Start a program, and then click Next.[*] Click Browse, type cleanmgr.exe in the File name box, click Open, and then click Next.[*] Click Finish.[/LIST]
[/QUOTE]

ATH 2013-04-28 11:57

[QUOTE=cheesehead;338565]Can anyone recommend a utility that will look at the Temp and WINDOWS\Temp directories to suggest cleanout?[/QUOTE]

Ashampoo Winoptimizer can clean out not only temp directory but many other not needed temporary files:
[URL="http://download.cnet.com/Ashampoo-WinOptimizer-2013/3000-18512_4-75021499.html"]http://download.cnet.com/Ashampoo-WinOptimizer-2013/3000-18512_4-75021499.html[/URL]

Cleaning the temp files from browsers is a separate tool called "Internet Cleaner" which can clean from IE, Firefox, Chrome, Opera, Safari. It can also clean the registry and defrag the hard drive and optimize much much more.

When you start Winoptimizer it scans your computer with all the different tools. I suggest you stop this and use the "All modules" tab at the bottom where you can select the tools you want.

kracker 2013-04-28 16:21

CCleaner is the BEST.

NBtarheel_33 2013-04-29 08:42

[QUOTE=kracker;338670]CCleaner is the BEST.[/QUOTE]

Seconded. No weird toolbars installed, no browser hijacks, no find-a-bunch-of-errors-then-demand-a-credit-card gimmickry. And if you're into cleaning up your "recently used" files or Internet browsing history, it does that too, even down to the infamous index.dat files.

cheesehead 2013-05-01 07:06

Thanks to all of you for these suggestions. I'll be trying them out soon.

- - - - -

[QUOTE=NBtarheel_33;338726]< snip > No weird toolbars installed, < snip >[/QUOTE]

Speaking of toolbars:

I just had another low-memory warning and low disk space warnings, and found that the main culprits were two toolbar__log.txt files (16.8 GB and 1.8 GB). A web search found that this is written by AVG Free edition, where some bug causes a runaway under certain conditions. Some folks claimed that a reboot cured the problem, while one said that in addition it was necessary to mark the revived toolbar__log.txt files as read-only.

(I had earlier disabled the AVG Security Toolbar add-ons in my Firefox browser, based on other recommendations.)

After a reboot, I found that one toolbar__log.txt file was rapidly lengthening, so I made all the ones I could find read-only. We'll see what happens now.


All times are UTC. The time now is 18:03.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.