[Unison-hackers] Memory exhaustion issue (#1068)
Tõivo Leedjärv
toivol at gmail.com
Sat Nov 23 16:13:56 EST 2024
Hi Michael,
Thank you for the tests so far.
What does unison -version report (it will show the compiler that was
used, as it may be important in this case)?
For each of the tests you've executed, could you please report the
total number of files/dirs in the roots? The number of updates is 1
(per sync), as you already wrote.
Next, if possible, try with version at least 2.53.6 on the server and
see if the memory usage pattern is the same. When you do, please also
report the output of unison -version.
> times the size of the file – quite a lot IMO. And for a tool which can
The size of a synced file does not impact memory usage, so you are
most likely looking at a bug.
> get that memory-hungry, it might be worthwhile to look into ways to
> reduce memory usage.
> Or is there a way to tell Unison to stop being smart and just copy the
> damn thing
Statements like these don't really motivate those trying to help (for
you should know that there have been tons of memory-usage improvements
in the past few years). But yes, there is a way: set the rsync
preference to false. I don't think it is relevant in this case but you
can try it and let us know if that changes the memory usage pattern.
More information about the Unison-hackers
mailing list