Author Topic: Many .tmp files  (Read 7373 times)

0 Members and 1 Guest are viewing this topic.

Offline VicP

  • PcWinTech Jr. Member
  • Join Date: Apr 2013
  • Posts: 4
  • Karma: 0
Many .tmp files
« on: April 21, 2013, 05:37:42 AM »
Hello,

I'm using CleanMemPro v2.4.3 on WinXPpro. I have noticed the it leaves a file with a name such as ~DFA02A.tmp in %TEMP% each time that it runs. Is there some configuration option to change this?  After a while there are a lot of such files left cluttering %TEMP%.

PcWinTech.com Forums

Many .tmp files
« on: April 21, 2013, 05:37:42 AM »

Offline Shane

  • Top Geek, err uh Dog.
  • PcWinTech Administrator
  • PcWinTech Guru
  • *******
  • Join Date: Jul 2008
  • Posts: 16,846
  • Location: USA
  • Karma: 523
  • "Knowledge should be shared not hidden."
Re: Many .tmp files
« Reply #1 on: April 21, 2013, 09:25:02 PM »
I am not aware of cleanmem making any temp files, it has no need to. What makes you think it is cleanmem making the files? Are the files locked by cleanmem or something?

Shane
(My weekends belong to my wife and kids, I will try my best to answer all posts daily during the work week)

(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline VicP

  • PcWinTech Jr. Member
  • Join Date: Apr 2013
  • Posts: 4
  • Karma: 0
Re: Many .tmp files
« Reply #2 on: April 22, 2013, 01:37:04 AM »
Sorry, my error.  It is actually Mini_Monitor (MM) that is creating the files. While investigating locked .tmp files with NirSoft's OpenedFilesView <http://www.nirsoft.net/utils/opened_files_view.html> I found when MM is running the following locked files in my %TEMP directory:


Filename          : Perflib_Perfdata_4d8.dat
Full Path         : C:\DOCUME~1\DURAHA~1\LOCALS~1\Temp\Perflib_Perfdata_4d8.dat
File Size         : 16,384
Process Name      : Mini_Monitor.exe
Process Path      : D:\ut\CleanMem\Mini_Monitor.exe

==================================================

Filename          : ~DF5780.tmp
Full Path         : C:\DOCUME~1\DURAHA~1\LOCALS~1\Temp\~DF5780.tmp
Handle            : 0xf8
File Size         : 16,384
Process Name      : Mini_Monitor.exe
Process Path      : D:\ut\CleanMem\Mini_Monitor.exe

When I exit MM the "Perflip_" file is removed but the "~DF????.tmp" file remains. One such ~DF file remains after each MM execution. Of course, after MM exits then the ~DF file is no longer locked and can be easily deleted when I do my periodic cleaning of %TEMP.

It's not a big problem but I just thought I had misconfigured something. Now I'm curious as to what is going on.

Regards,
Vic

Offline VicP

  • PcWinTech Jr. Member
  • Join Date: Apr 2013
  • Posts: 4
  • Karma: 0
Re: Many .tmp files
« Reply #3 on: April 22, 2013, 04:25:46 AM »
I've done some more research on this and found that if I EXIT MiniMonitor (MM) prior to shutting down my system, then the .tmp files are NOT left behind.  They are only left behind if I shut my system with MM is running in the system tray.  My guess is that the .tmp files are used by some system service used by MM and that my system shutdown does not allow that service to properly clean up.

Does that make sense?

Offline Shane

  • Top Geek, err uh Dog.
  • PcWinTech Administrator
  • PcWinTech Guru
  • *******
  • Join Date: Jul 2008
  • Posts: 16,846
  • Location: USA
  • Karma: 523
  • "Knowledge should be shared not hidden."
Re: Many .tmp files
« Reply #4 on: April 22, 2013, 10:19:21 AM »
ah! Perfdata

That is most likely because of the mini monitor showing current system up time. Do you have it using the API or the performance counters? Perfdata is is created when accessing performance counters in Windows :wink:

Since the Perfdata files are being cleaned up when you close the mini monitor I wonder how Windows is closing the mini monitor that it doesnt allow it to cleanup after itself.

Shane
(My weekends belong to my wife and kids, I will try my best to answer all posts daily during the work week)

(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline VicP

  • PcWinTech Jr. Member
  • Join Date: Apr 2013
  • Posts: 4
  • Karma: 0
Re: Many .tmp files
« Reply #5 on: April 22, 2013, 12:06:59 PM »

Since the Perfdata files are being cleaned up when you close the mini monitor I wonder how Windows is closing the mini monitor that it doesnt allow it to cleanup after itself.
Shane

Good question.  I am shutting down by clicking on START - SHUT DOWN so I can't guess why Windows interferes with the MM shutdown.  Anyway, it not a problem, just something I thought might be a configuration error on my part and that I was curious about.  Thanks for your help.

VicP

Offline Shane

  • Top Geek, err uh Dog.
  • PcWinTech Administrator
  • PcWinTech Guru
  • *******
  • Join Date: Jul 2008
  • Posts: 16,846
  • Location: USA
  • Karma: 523
  • "Knowledge should be shared not hidden."
Re: Many .tmp files
« Reply #6 on: April 22, 2013, 12:08:03 PM »
No problem :-)

Shane
(My weekends belong to my wife and kids, I will try my best to answer all posts daily during the work week)

(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

PcWinTech.com Forums

Re: Many .tmp files
« Reply #6 on: April 22, 2013, 12:08:03 PM »

 

email