Bug 2528 - memory leak in apt-shell
: memory leak in apt-shell
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/apt)
: unstable
: all Linux
: P5 minor
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2003-04-16 17:34 by
Modified: 2004-06-06 18:39 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2003-04-16 17:34:53
apt-0.5.5cnc4.1-alt3

После запуска apt-shell:

  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
19209 root      11   0  8976 8976  7056 S     0,0 14,2   0:02 apt-shell

apt> remove zlib-devel-static 
apt> commit 
The following packages will be REMOVED:
  zlib-devel-static
0 packages upgraded, 0 newly installed, 1 removed and 318 not upgraded.
Need to get 0B of archives.
After unpacking 68.0kB disk space will be freed.
Do you want to continue? [Y/n] 
Executing RPM (/bin/rpm -e --fancypercent --nodeps)...
Reading Package Lists... Done
Collecting File Provides... Done
Building Dependency Tree... Done

19209 root      18   0 19556  19M  7332 S     0,0 31,1   0:08 apt-shell

apt> remove xwpick 
apt> commit 
...

19209 root      19   0 28536  27M  7332 S     0,0 45,4   0:14 apt-shell

apt> remove xmms-status-plugin 
apt> remove xmms-fc
apt> commit 
...

19209 root      19   0 37564  36M  7332 S     0,0 59,8   0:21 apt-shell

Т.е. после каждого commit при перезагрузке базы пакетов отжирается изрядный кусок памяти (на другой машине я наблюдал разрастание процесса apt-shell до 200M, но с предыдущей сборкой).
---

---

------- Comment #1 From 2004-06-06 18:39:04 -------
Больше не наблюдается (по крайней мере в таком явном виде).