Intro Download and install Frequently Asked Questions Tips and tricks

Homepage







© J.C. Kessels 2009
MyDefrag Forum
May 25, 2013, 09:10:08 pm *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: stuck in loop: No gaps found, cannot move this item  (Read 732 times)
Tracey2031
JkDefrag Hero
*****
Posts: 55


View Profile
« on: July 27, 2011, 05:28:17 pm »

MyBug in MyDefrag4.3.1 logic (see last 2 lines):
I was tweaking around trying to get the best defrag and was stuck in a loop.
After about 15 minutes of going nowhere(MyDefrag did NOT get very far into zone 1), I closed the program and looked at the debug.log.
The following 4 lines were repeated about 12 thousand times:
15:34:49     I want to move 7384 clusters at LCN=7865841 of item 'C:\WINNT\system32\mfc90u.dll' (Inode=30246).
15:34:49       Looking for the first gap of 7384 clusters after Lcn=4521530, or the largest gap.
15:34:49         No gap found.
15:34:49       No gaps found, cannot move this item.

You might want to modify the program to detect when MyDefrag is stuck in a loop (tries and fails to move the same file over and over again).

I found if I can move files away from the place where they belong (vacate the space), my data files that are not normally defragged by MyDefrag (files flagged as unmovable by MyDefrag) get defragged.
Just FYI, Tracey
MakeGap(RoundUp(0, VolumeFree * 0.80))
ReclaimNtfsReservedAreas()
Logged
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7155



View Profile WWW
« Reply #1 on: July 30, 2011, 01:40:09 pm »

Thanks for your bug report, I appreciate it. It is not clear to me what script command MyDefrag was executing when you experienced the loop. Was it the "ReclaimNtfsReservedAreas()" command at the end of your posting?

p.s. The "ReclaimNtfsReservedAreas()" command is very old. It works, but not very well and I am thinking about removing this command. Please use "PlaceNtfsSystemFiles()" instead.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!