Jump to content


Memory issue


26 replies to this topic

#1 OFFLINE   Ramzy

    Advanced Member

  • Members
  • PipPipPip
  • 50 posts

Posted 22 December 2009 - 08:02 AM

If Defraggler is left open for an extended period of time -- For instance, if it's defragging a large drive, or if you simply minimize it -- It tends to use up huge amounts of RAM. This is just a quick example, however i've seen it hit 700MB+

Posted Image

While Defraggler is open:
Posted Image

After Defraggler closes:
Posted Image

http://forum.piriform.com/index.php?showto...mp;#entry114130

I brought this up in 2008, in Windows XP. The issue has persisted over the year, through Vista, and now Windows 7... Would be nice if this got sorted already.

#2 OFFLINE   MrRon

    Official Piriform Bug Fixer

  • Admin
  • 626 posts
  • Gender:Male

Posted 22 December 2009 - 10:26 AM

Can any one else confirm similar figures for RAM use?

#3 OFFLINE   Ramzy

    Advanced Member

  • Members
  • PipPipPip
  • 50 posts

Posted 25 December 2009 - 02:37 PM

The exact instant i open Defraggler, it uses about 90MB of RAM, but that's only with one HDD visible.

As more HDD's load into the list, Defraggler jumps to exactly 299MB RAM usage.

If i re-open Defraggler, it doesn't reload the list of hard drives, but it instantly uses 299MB of RAM.

Computer specs:
Intel Q9550 CPU
ASUS P5E motherboard
GTX285
8GB DDR2-800MHz
4 HDD's
- 2x400GB RAID0 (3 partitions)
- 2x1000GB regular

#4 OFFLINE   John Gray

    Member

  • Members
  • PipPip
  • 42 posts

Posted 28 December 2009 - 07:32 PM

It wouldn't surprise me if any active program would try to use as much memory space as it needs, if nothing else is running. Surely that's the way Windows memory allocation/optimisation is supposed to work?

#5 OFFLINE   Ramzy

    Advanced Member

  • Members
  • PipPipPip
  • 50 posts

Posted 29 December 2009 - 06:11 AM

Superfetch is for Windows, not for specific programs, as far as i understand.

Allocating 700MB of RAM to a program that calls on the standard defrag service in Windows doesn't make much sense.

In any case, my previous thread, in Windows XP, i used to only have 4GB of RAM, and i experienced the exact same issue.

#6 OFFLINE   mr don

    Power Member

  • Members
  • PipPipPipPip
  • 652 posts

Posted 30 December 2009 - 12:28 AM

View PostRamzy, on Dec 25 2009, 02:37 PM, said:

The exact instant i open Defraggler, it uses about 90MB of RAM, but that's only with one HDD visible.

As more HDD's load into the list, Defraggler jumps to exactly 299MB RAM usage.

If i re-open Defraggler, it doesn't reload the list of hard drives, but it instantly uses 299MB of RAM.

Computer specs:
Intel Q9550 CPU
ASUS P5E motherboard
GTX285
8GB DDR2-800MHz
4 HDD's
- 2x400GB RAID0 (3 partitions)
- 2x1000GB regular

- Shutdown your PC
- Disconnect a drive from each Raid Array & reboot, try it again.
- If this solves the problem, check the switches for correct Master/Slave setup on the drives themselves.
- If this doesn't solve the problem, connect the drives (1 drive, non raid array) directly to the MoBo instead of a Raid Card & see if that solves the problem.
- If this still doesn't solve the problem, try connecting a flash drive or some other drive & see what it does without the other drives installed/running.

#7 OFFLINE   Ramzy

    Advanced Member

  • Members
  • PipPipPip
  • 50 posts

Posted 30 December 2009 - 09:55 AM

I run RAID0, i can't disconnect a drive without destroying my array.

Besides, why the hell would i want to do that? If MyDefrag, Auslogics Defrag, PerfectDisk, O&O Defrag, Diskeeper, and many more defragging programs run without any problems (excess ram usage), why should Defraggler be the exception?

Furthermore, when i had Windows XP, i didn't have a RAID array.

I don't think drastically changing my hardware setup is the right thing to do, considering Defraggler is the only program that suffers from this issue.

#8 OFFLINE   MRIS

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 01 January 2010 - 11:47 AM

View PostRamzy, on Dec 30 2009, 07:55 PM, said:

I don't think drastically changing my hardware setup is the right thing to do, considering Defraggler is the only program that suffers from this issue.

I'm with him on that one.

I'm also seeing the same problem, and can confirm that the more drives you have the MUCH more memory defraggler uses.

I'm sure there's some design flaw in the code somewhere that misappropriates memory/forgets to release it.
Posted Image

#9 OFFLINE   Ramzy

    Advanced Member

  • Members
  • PipPipPip
  • 50 posts

Posted 02 January 2010 - 02:19 PM

There we go, MRIS knows what i'm talking about here.

Here's what i get the second i open Defraggler:

Posted Image

#10 OFFLINE   Ramzy

    Advanced Member

  • Members
  • PipPipPip
  • 50 posts

Posted 04 January 2010 - 09:30 PM

New version of Defraggler, v1.16.165 x64, same memory issue persists.

#11 OFFLINE   Tasgandy

    Advanced Member

  • Members
  • PipPipPip
  • 375 posts
  • Gender:Male
  • Location:Tasmania, Australia
  • Interests:Computing (building them) & working with Different OS's
    4 x 4 Driving
    Wine & cheese tastings
    Attempting to have a counter lunch in every Pub in Tasmania

Posted 05 January 2010 - 06:35 AM

View PostMrRon, on Dec 22 2009, 08:26 PM, said:

Can any one else confirm similar figures for RAM use?

Screen captures indicate no issues with RAM use, see attached.

Regards
Tasgandy

Always With Kind Regards

Tasgandy

"you are never to old to learn"

#12 OFFLINE   Gronxx

    Member

  • Members
  • PipPip
  • 19 posts
  • Gender:Male
  • Location:Vancouver, Canada

Posted 05 January 2010 - 08:58 AM

Uses 230± MB on my 4-HDD xp64 system. I have 8 GB of RAM total.

Other big users include K-Meleon and AVG.

I don't have any problem with Defraggler's memory demands, as I would expect a defrag app to take a lot. Other defraggers I've used were more intrusive than Defraggler (especially OO) and, to me, Defraggler seems light and quick. (I wish I could say the same for Nero, which I like but which is really demanding and sensitive on my box.)

I agree that programs such as defraggers will serve best by using lots of memory if it is available. You want scans like this to work fast. If the system were crashing or seizing up because the memory usage were crippling it, THEN I would be concerned. On my box, Defrag completes the defrag of any selected drive and then Task Man drops Defraggler from the chart altogether, so I'm assuming that means that Defraggler has quit upon finishing and is now consuming nada.

#13 OFFLINE   Ramzy

    Advanced Member

  • Members
  • PipPipPip
  • 50 posts

Posted 16 January 2010 - 01:42 PM

Gronxx, you don't fully understand what's going on here.

Defraggler isn't using more memory to work better or run faster. It uses more memory the more hard drives you have listed in the GUI.

It's a memory leak... It doesn't affect your defrag times or stability. It's simply an issue caused by the number of drives listed.

It's a bug.

#14 OFFLINE   John Gray

    Member

  • Members
  • PipPip
  • 42 posts

Posted 17 January 2010 - 05:13 PM

View PostRamzy, on Jan 16 2010, 01:42 PM, said:

It's a memory leak... It doesn't affect your defrag times or stability. It's simply an issue caused by the number of drives listed.
It's a bug.
Well, my Defraggler memory usage has stayed fairly constant at 361,024 KB (give or take a MB or so) for about half an hour while defragging.

Memory leaks cause the amount of memory used to increase with time, and (some of) the memory is not returned to the memory pool when the leaky program terminates. Is this what you observe?

#15 OFFLINE   Ramzy

    Advanced Member

  • Members
  • PipPipPip
  • 50 posts

Posted 10 February 2010 - 01:21 PM

Bought a new 1TB hard drive today, plugged it in, now defraggler boots up with 399MB of RAM usage.

Kind of getting silly now... Would like an official response.

After ONE single analysis, ram usage is nearly 500MB.
Posted Image

So now we know that this bug is directly related to the number of physical hard disk drives that are currently active.

edit: OK, i scanned each of my hard drives, now RAM usage is nearly 600MB.
Posted Image

#16 OFFLINE   romex

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 14 February 2010 - 11:21 PM

The same with me. My partitions:
Posted Image

Ram usage after start (not scan or defrag):
Posted Image

Ram usage after scan all partitions:
Posted Image

I made a little test:
I have Paragon Drive Backup is an exact copy (sector to sector, the same) in my partition "Z" made (65914 files, 32.6 GiB of 150GiB, 20% fragmented) and this once again with one competitors and their exact copy with Defraggler, defrag on the same partition.
The result:
The competition took 34 minutes and Defraggler took over 4 hours!

I repeat that again. The same result ... But why Defraggler takes so long?

EDIT: All on Windows Vista 64-Bit

#17 OFFLINE   romanoff

    Advanced Member

  • Bug Fixers
  • 53 posts

Posted 15 February 2010 - 10:41 AM

Hi Guys,

Can you please post the debug logs from these situations? The best ones would be /debug4 logs.

Best regards
Romanoff

#18 OFFLINE   Ramzy

    Advanced Member

  • Members
  • PipPipPip
  • 50 posts

Posted 15 February 2010 - 06:22 PM

Not sure how to post debug information from Defraggler.

Care to explain?

Also the latest version of defraggler with the changelog "- Rearchitected memory management on Vista/W7." still has not made a difference to the memory usage. In fact, it increased slightly.

#19 OFFLINE   hazelnut

    try to stay calm

  • Moderators
  • 9,836 posts
  • Gender:Female
  • Location:Huddersfield uk

Posted 15 February 2010 - 08:01 PM

See here

http://docs.piriform.com/defraggler/troubl...r-in-debug-mode

and here

http://docs.piriform.com/defraggler/advanc...line-parameters
CCLEANER, RECUVA, DEFRAGGLER AND SPECCY DOCUMENTATION CAN BE FOUND HERE

http://www.piriform.com/docs

#20 OFFLINE   Ramzy

    Advanced Member

  • Members
  • PipPipPip
  • 50 posts

Posted 16 February 2010 - 02:51 AM

Analyzed every single drive one by one, and did a quick defrag on C:

RAM usage was about 500MB by the end.

Posted Image

/debug3 generated an 80MB file that contained an index of every single file on all of my drives, which i will not be posting up, sorry.

Attached Files