If simple-scan is unable to load the cached data it should give the user the 
option to abandon the cached auto-save data on successive attempts.  Currently 
it just tries and crashes repeatedly due to lack of memory.
At a minimum: Console output indicating an attempt to load the cache and its 
location would've been helpful in solving the issue.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to simple-scan in Ubuntu.
https://bugs.launchpad.net/bugs/525441

Title:
  Reduce memory usage

Status in Simple Scan:
  Confirmed
Status in simple-scan package in Ubuntu:
  Confirmed

Bug description:
  i just scanned a multipage document (something like 15 pages) using 
simple-scan. everything went like a charm and i really like the application and 
it's concept a lot! thanks so much, robert!
  and probably thanks to canonical, i think there is some money involved (?) :)

  however it used an impressive 750 MB of memory doing so! this was not
  actually a problem, but this clearly does not scale and for other
  hardware it would have been problematic already.

  i suppose all raw image data is kept in memory until the complete
  batch is finished, the file saved and closed, but i did not really
  investigate in detail.

  solution: memory usage should be optimized.

  best regards!

  nailor@nailworks:~° simple-scan --debug                                  
[1001]
  ** (simple-scan:19246): DEBUG: Starting Simple Scan 0.9.5, PID=19246
  ** (simple-scan:19246): DEBUG: Restoring window to 1062x707 pixels
  ** (simple-scan:19246): DEBUG: Restoring window to maximized
  ** (simple-scan:19246): DEBUG: sane_init () -> SANE_STATUS_GOOD
  ** (simple-scan:19246): DEBUG: SANE version 1.0.20
  ** (simple-scan:19246): DEBUG: Requesting redetection of scan devices
  ** (simple-scan:19246): DEBUG: Processing request
  ** (simple-scan:19246): DEBUG: Stopping scan thread
  WARNING: Unhandled message: interface=org.freedesktop.DBus.Introspectable, 
path=/, member=Introspect
  ** (simple-scan:19246): DEBUG: sane_get_devices () -> SANE_STATUS_GOOD
  ** (simple-scan:19246): DEBUG: Device: 
name="hpaio:/usb/Deskjet_F4100_series?serial=CN7CO6V2MP04TJ" 
vendor="Hewlett-Packard" model="Deskjet_F4100_series" type="all-in-one"
  ** (simple-scan:19246): DEBUG: Processing request
  ** (simple-scan:19246): DEBUG: sane_exit ()

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to