[Bug 828730] Re: apt-get source memory leak
Mark Menkhus
mark.menkhus at hp.com
Tue Aug 23 23:23:25 UTC 2011
Hi,
My work around is to use debmirror instead of apt-get source. Using
apt-get for a thousand packages is probably OK on a modern machine with
a couple of gig of memory. Using it for packages than that more than
that is still a problem.
Regards,
Mark
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/828730
Title:
apt-get source memory leak
Status in “apt” package in Ubuntu:
New
Bug description:
I used apt-get source to download a bunch of source and noticed I
would run out of memory. I tried this on several machines, including
LTS 10.04.03, with apt 0.7.25.3ubuntu9.6 for amd64 compiled on Jul 13
2011 11:09:35.
I used apt-get source in a script where several thousand downloads are
done, the system will be unrecoverably out of memory, requiring
reboot. You can not download the whole source tree this way, without
a lot of reboots.
example:
for package in `dpkg -l | grep 'ii' | tr -s '[:blank:]' '\t' | cut --fields=2`
do
mkdir $package
cd $package
apt-get --download-only source $package
cd ..
done
Monitor the memory use using top or in /proc, eventually the system
will start thrashing.
Work around: unknown , how does one download the ubuntu or debian
source tree ?
Mark Menkhus, HP
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/828730/+subscriptions
More information about the foundations-bugs
mailing list