[Yum] high memory utilization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2003-10-06 at 09:59, Hedemark, Magnus wrote:
> Are most of you seeing yum consuming in the neighborhood of ~100M of memory
> when updating?  Any ideas for how to reduce this?
> 

Get rid of all headers, forever.

It's not quite that simple but it's close.

When an rpm transaction is run you have to load the header for each rpm
you want to use in memory - this is a fact of life in the rpm python
bindings. So you load in the header, it gets exploded in memory, and
during the depresolution phase all the extra headers get loaded to
resolve the deps. 

So at some point, once some other things get resolved, 'the loading all
the headers into memory to depresolve' part will go away, but you will
still need to load the headers for the actual install.

Take a look at the size of anaconda or up2date when the transaction is
actually running. They should be about the same size as yum.

-sv


[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux