[Bug 828730] [NEW] apt-get source memory leak
Mark Menkhus
mark.menkhus at hp.com
Thu Aug 18 13:09:44 UTC 2011
Public bug reported:
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
** Affects: apt (Ubuntu)
Importance: Undecided
Status: New
--
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