Package: dselect
Version: 1.13.22
Severity: normal

"dselect select" seems to take about 48 MB while displaying the packages, this 
causes a 
small-memory system (32MB) to go heavily into swap.

A quick run with valgrind --tool=massif reveals that about 15MB are allocated 
by 'newpad'.
Apparently dselect creates a 20000-line ncursed pad to hold the package list. 
Since the
same information is also present as part of the in-memory package database, it 
might be
possible to save the memory by generating a smaller pad for just the part of 
the list 
that's being shown at any given time.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.33
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages dselect depends on:
ii  dpkg                         1.13.22     package maintenance system for Deb
ii  libc6                        2.3.6.ds1-4 GNU C Library: Shared libraries
ii  libgcc1                      1:4.1.1-13  GCC support library
ii  libncurses5                  5.5-3       Shared libraries for terminal hand
ii  libstdc++6                   4.1.1-13    The GNU Standard C++ Library v3

dselect recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to