Skip to content

Large PDF’s crash Nextcloud #4112

@kman1898

Description

@kman1898

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. Open the Nextcloud iOS app and navigate to any large PDF file (reproduces with multiple different PDFs in the 20MB+ range).
  2. Tap the PDF to open it in the in-app viewer.
  3. Scroll through the document continuously.

Expected behaviour

The PDF viewer should remain stable and allow continuous scrolling/navigation through large documents without crashing.

Actual behaviour

The PDF opens and renders correctly. After scrolling for under a minute, the Nextcloud app crashes and is dismissed back to the iOS home screen. This is reproducible across multiple different large PDFs, so it does not appear to be a file-specific issue — it looks size/memory related. Smaller PDFs do not exhibit the crash.

Logs

If applicable, you can post the iOS app or server logs (removing any sensitive information).

Reasoning or why should it be changed/implemented?

Viewing PDFs is a core use case for the Nextcloud iOS app, and large PDFs (manuals, scanned documents, books) are common. The viewer should handle them without crashing, or fall back to paged/streaming rendering if the document exceeds available memory.

Environment data

iOS version: iPad OS 26.4.1
iPad model: iPad Pro 13 M4
Nextcloud iOS app version: 33.0.8.1
Server operating system: 32.0.8
Affected PDFs: Multiple large, both text-based and image-heavy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions