[Digikam-devel] [Bug 303217] New: Cannot preview TIFF files on Mac OS due to "not enough memory" exceptions

khisatomi at yahoo.com khisatomi at yahoo.com
Mon Jul 9 00:33:31 BST 2012


https://bugs.kde.org/show_bug.cgi?id=303217

            Bug ID: 303217
          Severity: major
           Version: 2.6.0
          Priority: NOR
          Assignee: digikam-devel at kde.org
           Summary: Cannot preview TIFF files on Mac OS due to "not enough
                    memory" exceptions
    Classification: Unclassified
                OS: OS X
          Reporter: khisatomi at yahoo.com
          Hardware: MacPorts Packages
            Status: UNCONFIRMED
         Component: Preview
           Product: digikam

Digikam does not preview large TIFF files in MacOS because of lack of enough
memory. It is difficult to define a threshold because it fails with scanned
images (Epson Photo Perfection hardware) of about 30MB but works with files of
55MB. Nevertheless, it always fails with files about 90MB of size.

OS X console output shows:

Jul  8 20:27:52 macbook [0x0-0x1d01d].digikam[221]: digikam(221)/digikam
(core): Not enough memory to allocate buffer of size 147021488 
Jul  8 20:27:52 macbook [0x0-0x1d01d].digikam[221]: digikam(221)/digikam (core)
Digikam::PreviewLoadingTask::execute: Cannot extract preview for 
"/Users//img127.tif" 
Jul  8 20:27:53 macbook [0x0-0x1d01d].digikam[221]: digikam(221)/digikam
(core): Not enough memory to allocate buffer of size 135233008 
Jul  8 20:27:53 macbook [0x0-0x1d01d].digikam[221]: digikam(221)/digikam (core)
Digikam::PreviewLoadingTask::execute: Cannot extract preview for 
"/Users/img126.tif" 

Reproducible: Always

Steps to Reproduce:
1. Go to an album with large TIFF files (about 90 MB always fails)
2. Digikam does not show any preview
3. Try to open an image also fails.
Actual Results:  
No preview available.

Expected Results:  
Show the images preview.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list