#171 Memory leak

v6.0.3
closed
nobody
None
5
2015-12-27
2013-01-21
odinmillion
No

During the analyzing of the D: drive (2Tb total size, 500 Gb free space, 2 000 000 files) udefrag.exe proceess freezes at 100% point:
- memory usage: 800 Mb
- CPU usage: 25% (on 4-core CPU)
I waited 90 min, but nothing happened. So process didn't start to defrag HDD.

1 Attachments

Discussion

<< < 1 2 3 (Page 3 of 3)
  • Stefan Pendl
    Stefan Pendl
    2013-02-19

    I have done a test using Process Monitor and the process slows down drastically after all the information is read from the MFT.

    Attached is the process monitor log file and a screen shot.


    Stefan

     
    Attachments
  • Stefan Pendl
    Stefan Pendl
    2013-02-19

    Adding files to the fragmented files list is slowing down.

    Initially it takes just a few milliseconds to add 1000 files, but later it increases to multiple seconds and more.

    Attached is a log file.


    Stefan

     
    Attachments
  • Well, the problem is known now. I will get rid of double linked lists whenever it makes sense in favor of more efficient binary trees. I hope, it'll take just a couple of days.


    Dmitri

     
  • Stefan Pendl
    Stefan Pendl
    2013-02-24

    It now takes just 7 seconds to generate the fragmented files list for 1.8 million files ;-D

    Attached find the portable packages for testing.


    Stefan

     
    Last edit: Stefan Pendl 2013-02-24
    • odinmillion
      odinmillion
      2013-02-24

      Great news! At the Monday I will test))

       
  • odinmillion
    odinmillion
    2013-02-25

    I have already tested. And I am happy)) Udefrag finished analyzing stage and started defragmentation! Good work!

    Let's make final release))

    UPD. 1 second to generate the fragmented files list for 1.2 million files

     
    Last edit: odinmillion 2013-02-25
    • Stefan Pendl
      Stefan Pendl
      2013-02-25

      UPD. 1 second to generate the fragmented files list for 1.2 million files

      So you have a faster machine than I :-(


      I will release another RC so more users will be able to confirm, that there is nothing done wrong when we switched to binary trees.


      Stefan

       
      • odinmillion
        odinmillion
        2013-02-26

        Sounds good!

         
  • Stefan Pendl
    Stefan Pendl
    2013-02-26

    • status: open --> closed
     
  • Stefan Pendl
    Stefan Pendl
    2013-02-26

    This is fixed in v6.0.0 RC3

     
<< < 1 2 3 (Page 3 of 3)