mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2013-04-27, 20:53   #1
cheesehead
 
cheesehead's Avatar
 
"Richard B. Woods"
Aug 2002
Wisconsin USA

22×3×641 Posts
Default 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?

Last fiddled with by cheesehead on 2013-04-27 at 20:58
cheesehead is offline   Reply With Quote
Old 2013-04-27, 20:56   #2
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

234678 Posts
Default

Quote:
Originally Posted by cheesehead View Post
Can anyone recommend a utility that will look at the Temp and WINDOWS\Temp directories to suggest cleanout?
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.

Last fiddled with by chalsall on 2013-04-27 at 20:58
chalsall is offline   Reply With Quote
Old 2013-04-27, 20:59   #3
cheesehead
 
cheesehead's Avatar
 
"Richard B. Woods"
Aug 2002
Wisconsin USA

22·3·641 Posts
Default

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

Last fiddled with by cheesehead on 2013-04-27 at 21:11
cheesehead is offline   Reply With Quote
Old 2013-04-27, 21:03   #4
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

10,039 Posts
Default

Quote:
Originally Posted by cheesehead View Post
Does Linux have a WINDOWS\Temp directory?
No.

It does have a /tmp/ directory, but that can be managed with partitioning and quotes.
chalsall is offline   Reply With Quote
Old 2013-04-27, 21:12   #5
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

10,039 Posts
Default

Quote:
Originally Posted by cheesehead View Post
Or are you suggesting that I boot a Linux partition in order to clean up temp files on my Windows partition(s)?
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.

Last fiddled with by chalsall on 2013-04-27 at 21:15 Reason: Added last sentence.
chalsall is offline   Reply With Quote
Old 2013-04-27, 23:32   #6
pinhodecarlos
 
pinhodecarlos's Avatar
 
"Carlos Pinho"
Oct 2011
Milton Keynes, UK

10011011111012 Posts
Default

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 - http://www.piriform.com/ccleaner
Glary Utilities - http://www.glarysoft.com/
pinhodecarlos is offline   Reply With Quote
Old 2013-04-27, 23:52   #7
kladner
 
kladner's Avatar
 
"Kieren"
Jul 2011
In My Own Galaxy!

2×3×1,693 Posts
Default

Quote:
Originally Posted by cheesehead View Post
Can anyone recommend a utility that will look at the Temp and WINDOWS\Temp directories to suggest cleanout?
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:
Schedule Disk Cleanup to run regularly

Disk Cleanup is a convenient way to delete files you no longer need and free up hard disk space on your computer. Scheduling Disk Cleanup to run regularly can save you the trouble of having to remember to run it.
Note

  • When you schedule Disk Cleanup, it will open and then wait for you to make choices before deleting files from your computer.

  1. [IMG]mshelp://help/?id=Microsoft.Windows.Resources.ShellExecuteTopicIcon[/IMG]Click to open Task Scheduler. [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.
  2. Click the Action menu, and then click Create Basic Task.
    This opens the Create Basic Task Wizard.
  3. Type a name for the task and an optional description, and then click Next.
  4. To select a schedule based on the calendar, click Daily, Weekly, Monthly, or One time, and then click Next.
  5. Specify the schedule you want to use, and then click Next.
  6. Click Start a program, and then click Next.
  7. Click Browse, type cleanmgr.exe in the File name box, click Open, and then click Next.
  8. Click Finish.

Last fiddled with by kladner on 2013-04-27 at 23:54
kladner is offline   Reply With Quote
Old 2013-04-28, 11:57   #8
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

C7916 Posts
Default

Quote:
Originally Posted by cheesehead View Post
Can anyone recommend a utility that will look at the Temp and WINDOWS\Temp directories to suggest cleanout?
Ashampoo Winoptimizer can clean out not only temp directory but many other not needed temporary files:
http://download.cnet.com/Ashampoo-Wi...-75021499.html

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.

Last fiddled with by ATH on 2013-04-28 at 12:09
ATH is offline   Reply With Quote
Old 2013-04-28, 16:21   #9
kracker
 
kracker's Avatar
 
"Mr. Meeseeks"
Jan 2012
California, USA

32×241 Posts
Default

CCleaner is the BEST.
kracker is offline   Reply With Quote
Old 2013-04-29, 08:42   #10
NBtarheel_33
 
NBtarheel_33's Avatar
 
"Nathan"
Jul 2008
Maryland, USA

100010110112 Posts
Default

Quote:
Originally Posted by kracker View Post
CCleaner is the BEST.
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.
NBtarheel_33 is offline   Reply With Quote
Old 2013-05-01, 07:06   #11
cheesehead
 
cheesehead's Avatar
 
"Richard B. Woods"
Aug 2002
Wisconsin USA

22×3×641 Posts
Default

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

- - - - -

Quote:
Originally Posted by NBtarheel_33 View Post
< snip > No weird toolbars installed, < snip >
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.
cheesehead is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
'Kernel memory leaking' Intel processor design flaw forces Linux, Windows redesign M344587487 Science & Technology 42 2018-11-17 13:07
GMP-ECM Messages Killed/Aborted/cannot allocate memory EdH GMP-ECM 13 2016-11-11 04:15
does Windows XP require more memory now? ixfd64 Lounge 7 2009-06-24 03:36
Low-Stress Job with High Potential? Mathematician cheesehead Lounge 20 2009-06-05 20:24
Windows Memory Diagnostic from MS M29 Software 1 2005-02-17 18:34

All times are UTC. The time now is 09:30.


Sat Nov 27 09:30:53 UTC 2021 up 127 days, 3:59, 0 users, load averages: 1.14, 1.11, 1.09

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

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.