[Reproducible-builds] Bug#808120: Bug#808120: diffoscope: Should use less memory
lunar at debian.org
Tue Dec 22 17:21:19 UTC 2015
Control: tag -1 + pending
> * What was the outcome of this action?
> A 533KB HTML file that, considering its size, doesn't contain much differences.
> Yet, while processing this, the diffoscope process (not its children readelf,
> objdump or diff processes) sucked more than 4GB of memory. That tells me
> something unexpectedly suboptimal is happening.
Absolutely! The code was building a full list of lines to compare in
memory instead of feeding them to diff as they were produced. The fix
was trivial once the issue was understood. Thanks for the nudge.
lunar at debian.org : :Ⓐ : # apt-get install anarchism
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: Digital signature
More information about the Reproducible-builds