Bug 203641 - Thumbnail generation slows system to eventual lockup
Summary: Thumbnail generation slows system to eventual lockup
Status: RESOLVED NOT A BUG
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: thumbnail (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Malte Starostik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-13 00:20 UTC by Tjaart Blignaut
Modified: 2009-08-27 00:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tjaart Blignaut 2009-08-13 00:20:21 UTC
Version:            (using KDE 4.3.0)
OS:                Linux
Installed from:    Ubuntu Packages

When loading many image thumbnails in either dolphin, gwenview or even in the album cover manager in amarok, KDE slows down and eventually causes the entire operating system to lock up(No keyboard input, mouse does not move). 

The first time it happened was when I loaded a folder with a large amount of large resolution images in Gwenview(1800x1200+).

The second time it happened in Amarok when I downloaded covers for about 250 albums. 

It starts out well but gradually gets slower and my mouse pointer gets jittery. The ui doesnt react to mouseover events as fast and eventually nothing moves and nothing works.

System Info:
Kubuntu 9.04 Amd 64
Comment 1 Dario Andres 2009-08-13 00:26:49 UTC
- How many image files were the time you experienced the freeze with Gwenview?
This could be related to bug 201860.
Thanks
Comment 2 Tjaart Blignaut 2009-08-13 00:45:34 UTC
(In reply to comment #1)
> - How many image files were the time you experienced the freeze with Gwenview?
> This could be related to bug 201860.
> Thanks
Thanks for the quick reply...

There are 475 files. Many of them have large resolutions(2996x2000). I think KIO_Thumbnail may be the culprit. I was watching it and it created several instances while making previews in Dolphin. 

It does look like the same bug... if you think that is the case could you move it to the other one and confirm it?
Comment 3 Dario Andres 2009-08-13 01:00:03 UTC
Motivated by bug 203628 I should ask: do you have mplayerthumbs enabled ? Thanks
Comment 4 Tjaart Blignaut 2009-08-13 01:12:48 UTC
I'm pretty sure I don't have mplayer thumbs because I don't get video thumbnails. It happens when loading image thumbnails and unlike the bug your mentioning the error is unrecoverable. I end up having to do a hard reboot. 

I even tried leaving it overnight to see if it finishes but it does not. Tries to generate thumbnails and then locks the system up.
Comment 5 Tjaart Blignaut 2009-08-27 00:24:08 UTC
I have found my problem to be Kubuntu's wubi installation defaulting the swap file size to 256 MB. This caused havoc on my system. 

Sorry for the inconvenience.

I tested the large files again in GwenView and had one lock up after resizing my swap file. Overall the process is taking up all my system resources and it is impossible to do anything while it is busy. The previewing process still needs to be throttled in my opinion. Should I open a bug report for this?