Skip to content

Large HEIC files can not be processedΒ #20028

@mxsrm

Description

@mxsrm

I have searched the existing issues, both open and closed, to make sure this is not a duplicate report.

  • Yes

The bug

When using the 200MP option on my Galaxy S25 Ultra and saving the images as HEIC, the uploaded files do not get thumbnails generated and are not displayed in the Web-App ("Error loading image").

The OS that Immich Server is running on

Debian 12

Version of Immich Server

v1.135.3

Version of Immich Mobile App

v1.135.1

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

Default

Your .env content

Default with just passwords changed

Reproduction steps

  1. Take 200 MP picture as HEIC
  2. Let Immich upload it from Android app
  3. Try to view it in the web-app

Relevant log output

immich_server            | [Nest] 7  - 07/19/2025, 11:05:04 PM   ERROR [Microservices:{"id":"d74bb0c2-6a3e-413f-87cf-0b5d7e748ad3"}] Unable to run job handler (generate-thumbnails): Error: heif: Memory allocation error: Security limit exceeded: Allocating 599270415 bytes exceeds the security limit of 536870912 bytes (6.1000)
immich_server            | Error: heif: Memory allocation error: Security limit exceeded: Allocating 599270415 bytes exceeds the security limit of 536870912 bytes (6.1000)

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions