← Back to team overview

simple-scan-team team mailing list archive

[Bug 598703] Re: simple-scan allocates memory for one page (possibly a lot) on startup

 

** Summary changed:

- Memory usage high after a kill/restart
+ simple-scan allocates memory for one page (possibly a lot) on startup

-- 
You received this bug notification because you are a member of Simple
Scan Development Team, which is the registrant for Simple Scan.
https://bugs.launchpad.net/bugs/598703

Title:
  simple-scan allocates memory for one page (possibly a lot) on startup

Status in Simple Scan:
  Triaged

Bug description:
  1. Begin a scan at a high resolution. Observe memory usage.
  2. Kill simple-scan (using "killall simple-scan" from a terminal)
  3. Restart simple-scan. Observe memory usage.
  4. Lower resolution (Documents → Preferences) and begin a new scan. Observe memory usage.

  I ran into this problem after (ambitiously) trying to scan a full A4
  page at 1200 dpi on a machine with only 1 GB RAM (bad idea). Once
  memory usage hit ~97%, I gave up and killed the application.

  However, everytime I would restart it afterwards, it would
  *immediately* grab almost as much memory. I tried clearing the
  contents of ~/.cache/simple-scan, as well as some .tiff files I found
  in /tmp, to no avail.

  The memory usage didn't drop until I performed steps 3 and 4 as
  explained above.

  $ apt-cache policy simple-scan
  simple-scan:
    Installed: 1.0.3-0ubuntu1
    Candidate: 1.0.3-0ubuntu1
    Version table:
   *** 1.0.3-0ubuntu1 0
          500 http://utormirror.utoronto.ca/ubuntu/ lucid-updates/main Packages
          100 /var/lib/dpkg/status
       1.0.2-0ubuntu1 0
          500 http://utormirror.utoronto.ca/ubuntu/ lucid/main Packages

To manage notifications about this bug go to:
https://bugs.launchpad.net/simple-scan/+bug/598703/+subscriptions