griff / metaz

Two letters better than MetaX
https://metaz.maven-group.org/
MIT License
413 stars 56 forks source link

MetaZ eating a huge amount of HD space! #59

Open samsninetales opened 11 years ago

samsninetales commented 11 years ago

I have a Seagate 2TB external HD where all my movies and tv shows are. I was using your MetaZ to do all my tagging. I started getting errors which i realised were coming up because I was out of memory on my HD. This seemed impossible as I had something like 0.75TB when I started tagging. But it was true, I was all of sudden out of memory.

So I free'd up some space and monitored my available memory on the hard drive whilst I tagged a 2.5GB movie file. After the tagging was finished my available memory dropped by exactly 2.5GB. The movie file is still 2.5GB but i seemed to have lost an extra 2.5GB somewhere. When i deleted the file and the folder, it only free'd up 2.5GB, I was still somehow missing this random 2.5GB thats been eaten up by the MetaZ.

Just to prove it I've done another test just now and the screenshots are below to show you.

Please help me get back my HD, its taken far far too much memory and whilst I love the result of your program on my files and how its tags them, It shouldn't be doing this.

Samsninetales iMac 2010 OS X Version 10.8.2 3.2 GHz Intel Core i3 4GB 1333 MHz DDR3

Screen Shot 2013-04-03 at 16 02 11 Screen Shot 2013-04-03 at 16 02 52

griff commented 11 years ago

This might be caused by how MetaZ does its writing. It first writes a full new copy to disk and when that is done it moves the old file to the trash and renames the new copy. This means that over time the trash will accumulate and you will eventually run out of space. So you might need to regularly empty the trash.

The reason it is implemented this way is so that there is at least some protection against MetaZ corrupting a file which can happen from time to time.

If you don't want this protection there is an option in the preferences that disables it: Under the File section there is a checkbox named "Put originals in Trash" if you uncheck it MetaZ stops keeping a backup.