Hey Presto!

Michael Schroeder mls at suse.de
Thu Jul 8 15:33:12 UTC 2010


On Mon, Jun 14, 2010 at 10:24:13AM +0200, Michael Schroeder wrote:
> It's not that hard to fix, there's no need to keep the "target"
> rpm in memory at all. The "source" rpm can be limited to some
> max size with the down side that the end of the "target" rpm
> cannot match the start of the "source" rpm anymore. This shouldn't
> do much harm in the real world.
> 
> I've already looked at the code, it shouldn't be much work to
> implement. I'll try to do it this or next week.

Ok, the current git version now understands a '-m <mbytes>'
option that limits the memory usage.

The downside is that now the deltarpm must be held in memory,
but it should be small in most cases.

Cheers,
  Michael.

-- 
Michael Schroeder                                   mls at suse.de
SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}


More information about the devel mailing list