Bug 2528 - memory leak in apt-shell
Summary: memory leak in apt-shell
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: apt (show other bugs)
Version: unstable
Hardware: all Linux
: P5 minor
Assignee: placeholder@altlinux.org
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-16 17:34 MSD by Sergey Vlasov
Modified: 2004-06-06 18:39 MSD (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Vlasov 2003-04-16 17:34:53 MSD
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 Sergey Vlasov 2004-06-06 18:39:04 MSD
Больше не наблюдается (по крайней мере в таком явном виде).