I was a little bit disappointed today as I wanted to compare two 4GB files with TC 6.03a.
I only got the following message:
COMPARE - Not enough memory, search aborted.
The two files are DIFFERENT!
Because I cannot afford to buy a machine with 8GB of RAM, I would be very pleased if TC could in the future compare big files without asking to add more memory.
MichelPy wrote:Because I cannot afford to buy a machine with 8GB of RAM, I would be very pleased if TC could in the future compare big files without asking to add more memory.
I don't think that you need more RAM. I guess the error message is misleading and you will probably need more space at the drive your %temp% folder is located.
sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
Not the space on the %temp% drive but the swap-file size must be big enough to make a compare by content. For this both whole files are loaded into (virtual) Memory. But this will take a lot of time.
If you only want to know if the files are equal you can use the 'synchronise dir' feature -that shows if files equal or not. Icfu proposed for this case a CRC-chesum test of both files.
sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
Sorry, didn't realize the Thread is in another language.
The last four posts:
icfu:
"You need enough RAM / swap space to accomodate the two files. The free HDD space is irrelevant.
Unfortunately Compare by content loads both files into RAM instead of comparing only small parts of them (the way Lister works).
@ghisler: Maybe this could be changed?"
ghisler(Author):
"Simply use Synchronize dirs instead of Compare by content. Sync dirs only shows if the files are equal/unequal, while Comapre by contents tries to load both files into memory when they're different, to show the differences."
icfu:
"Wouldn't it be possible to show the differences in small, 64KB parts only, like in Lister?
When comparing byte by byte you don't need to load both files into memory completely, just the needed offsets (parts).
They way it works now, Compare by contents is totally unusable for large files because of the memory limitation and the time it takes to load both files into memory, and that's a pity."
ghisler(Author):
"Should be theoretically possible, however, it would require larger changes in the program. Let's see if it's doable."
HTH
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.