[Shotwell] shotwell consumes all available memory on startup

Adam Dingle adam at yorba.org
Tue Jan 25 00:09:32 UTC 2011


John,

- To be clear, does the progress dialog disappear, or does it remain 
on-screen while the memory usage increases?

- How many photos are in your Shotwell library?  Approximately how many 
of them are RAW?

- Do you have the option to watch the library directory for new files 
turned on?  If so, could you try the following?  While Shotwell is not 
running, start gconf-editor, find the value 
/apps/shotwell/preferences/files/auto_import and uncheck it to disable 
library watching.  Now start Shotwell again.  Does the memory flood 
still occur?

adam

On 01/24/2011 03:45 PM, John Carlyle-Clarke wrote:
> I'm having a problem with shotwell 0.8.1 on Archlinux 64-bit.  When I 
> start it, the progress dialog appears, followed by the UI.  After a 
> few seconds, the UI becomes unresponsive and it starts to increase its 
> memory usage until it consumes all RAM and swap.
>
> The end of the strace, which coincides with the beginning of the 
> increasing memory use, is:-
>
> futex(0x7f6893be1ea0, FUTEX_WAKE_PRIVATE, 1) = 0
> futex(0x7f6894830528, FUTEX_WAKE_PRIVATE, 1) = 0
> futex(0x7f6894830528, FUTEX_WAKE_PRIVATE, 1) = 0
> futex(0x7f6894830528, FUTEX_WAIT_PRIVATE, 2, NULL) = -1 EAGAIN 
> (Resource temporarily unavailable)
> futex(0x7f6894830528, FUTEX_WAKE_PRIVATE, 1) = 0
> futex(0x7f689508d8e8, FUTEX_WAKE_PRIVATE, 1) = 0
> brk(0x5a2d000)                          = 0x5a2d000
> brk(0x5a88000)                          = 0x5a88000
> mmap(NULL, 499712, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
> -1, 0) = 0x7f6888c62000
> mmap(NULL, 999424, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
> -1, 0) = 0x7f6888b6e000
> mmap(NULL, 1994752, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
> -1, 0) = 0x7f6888987000
> futex(0x7f6893be1ea0, FUTEX_WAKE_PRIVATE, 1) = 1
> mmap(NULL, 3985408, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
> -1, 0) = 0x7f68885ba000
> mmap(NULL, 7966720, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
> -1, 0) = 0x7f687ad4f000
> futex(0x7f6893be1ea0, FUTEX_WAKE_PRIVATE, 1) = 1
> mmap(NULL, 15929344, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
> -1, 0) = 0x7f6879e1e000
> mmap(NULL, 31854592, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
> -1, 0) = 0x7f6877fbd000
> futex(0x7f6893be1ea0, FUTEX_WAKE_PRIVATE, 1) = 1
> mmap(NULL, 63705088, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
> -1, 0) = 0x7f68742fc000
> mmap(NULL, 127406080, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
> -1, 0) = 0x7f686c97b000
> mmap(NULL, 254808064, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
> -1, 0) = 0x7f685d67a000
> mmap(NULL, 509612032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
> -1, 0) = 0x7f683f079000
> mmap(NULL, 1019219968, PROT_READ|PROT_WRITE, 
> MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6802478000
> mmap(NULL, 2038435840, PROT_READ|PROT_WRITE, 
> MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6788c77000
>
> Not sure what else I can usefully provide!  Let me know...
>
> Thanks in advance.
>
> John
> _______________________________________________
> Shotwell mailing list
> Shotwell at lists.yorba.org
> http://lists.yorba.org/cgi-bin/mailman/listinfo/shotwell




More information about the Shotwell-list mailing list