Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exporting Olympus High Res Shot crash #1997

Closed
philipzimmermann opened this issue Jan 12, 2019 · 12 comments
Closed

Exporting Olympus High Res Shot crash #1997

philipzimmermann opened this issue Jan 12, 2019 · 12 comments

Comments

@philipzimmermann
Copy link

philipzimmermann commented Jan 12, 2019

Describe the bug
Since the update i can now open and edit High Res Mode Raw files from my Olympus OMD EM-5 Mark ii. I can also export them without making changes. But whenever i try to export them after making changes Darktable crashes.

To Reproduce
Steps to reproduce the behavior:

  1. Open Darktable
  2. Load 60 MP High Res File
  3. Activate Local Contrast Module for example
  4. Export Image

Expected behavior
Darktable calculates for some seconds and then closes without a message.

Screenshots
No Screenshot possible

Platform (please complete the following information):

  • OS: [Ubuntu 18.04]
  • Memory [8 GB]
  • Version [2.6.0]

Additional context
Is it possibly caused by running out of RAM or something similar?
I could send you the RAW files I used but I can't attach them here.

@matejvanco
Copy link

matejvanco commented Feb 6, 2019

Same issue on o OSX 10.14.2 (18C54), 8 GB RAM, DT version 2.6.0

error.txt

@pitbuster
Copy link
Contributor

I tested in 2.6.1 and it does not crash, but it instantly hangs. I activated local contrast (on default values) and levels.

@edgardoh
Copy link
Contributor

opencl? No opencl? only with local contrast?

@matejvanco
Copy link

Any type of edit. Problem is during the export. When image is exported darktable crashes.

@edgardoh
Copy link
Contributor

edgardoh commented Mar 29, 2019 via email

@heitorPB
Copy link

I confirm the issue with Darktable 2.6.2, ArchLinux, 8 GB of RAM + Firefox open. If I close Firefox to free some RAM, Darktable exports all the images without crashing. But when I have all my 73 tabs in Firefox, Darktable does not have enough RAM and crashes.

Why does Darktable needs some GB of RAM to process photos of ~20 MB?

@philipzimmermann
Copy link
Author

I tested it again today in darktable 2.6.1 with some more edits in my image and (after processing for some minutes) it successfully exported my image. So either version 2.6.1 fixed it or it really depends on the RAM usage during the processing because most of my RAM was free this time.

@edgardoh
Copy link
Contributor

OK, still need an answer, but if dt don't have the resources to process the image then yes, it will crash.

@pitbuster
Copy link
Contributor

Hi everyone,

Since I remembered that editing the same file converted to DNG worked fine, I did some tests with both the original and DNG.

At the end, I could track the problem to the Local Laplacian Filter for Local Contrast. Bilateral Grid works fine.

Maybe we could warn the users that Local Laplacian may use too much memory for big files.

@luhk
Copy link

luhk commented Mar 31, 2019

I have had the same issue with Local Contrast using Darktable 2.6.0, 2.6.1, and 2.6.2, no OpenCL.
With large panoramas (80 megapixels from 16-bit TIFFs), the OOM killer kills Darktable when the Local Contrast module is enabled during export. With smaller images, Darktable sometimes is killed, sometimes isn't, depending on how much RAM other applications use. Setting the number of background threads to 1 and lowering the maximum tile size sometimes also helps.

This is on a machine with 8 GB RAM.

Apparently, the local contrast module needs large amounts of RAM. Is this a bug, or is this just the way it is?

@matejvanco
Copy link

matejvanco commented Apr 1, 2019

Installed DT2.6.2 It took several hours to export Oly EM5Mk2 HighRes photo. But DT did not crasehd this time. So far so good.

@Nilvus
Copy link
Contributor

Nilvus commented May 19, 2019

@phixxx5 : as it seems ok for you with 2.6.1, do you consider this resolved ? If yes, please close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants