Can not view large pdf file

Steps to reproduce

I have a large pdf file it around 772 Mb. The file store in icloud and i put a symlink to my vault to open it. small files can open just fine but i could not view the large one.

Did you follow the troubleshooting guide? [Y/N]

Y

Expected result

To able to view pdf file

Actual result

here the err log i found

pdf.viewer.min.js:22 pdf.loading_error

PDF.js v3.9.0 (build: ?)
Message: Invalid string length

Environment

SYSTEM INFO:
Obsidian version: v1.6.3
Installer version: v1.4.14
Operating system: Darwin Kernel Version 23.4.0: Wed Feb 21 21:44:06 PST 2024; root:xnu-10063.101.15~2/RELEASE_ARM64_T8103 23.4.0
Login status: logged in
Catalyst license: none
Insider build toggle: off
Live preview: on
Base theme: dark
Community theme: Minimal v7.6.10
Snippets enabled: 3
Restricted mode: off
Plugins installed: 40
Plugins enabled: 38
1: Projects v1.17.3
2: Templater v2.3.3
3: Various Complements v10.0.0
4: Paste URL into selection v1.7.0
5: Iconize v2.12.1
6: Image Toolkit v1.4.1
7: Default New Tab Page v0.11.4
8: Dataview v0.5.66
9: Better Comment Toggle v1.0.3
10: Omnisearch v1.23.1
11: Minimal Theme Settings v8.0.2
12: Code Editor Shortcuts v1.14.0
13: Better Word Count v0.10.1
14: Style Settings v1.0.8
15: Tag Wrangler v0.6.1
16: Auto Link Title v1.5.4
17: QuickAdd v1.9.0
18: TagFolder v0.18.7
19: Linter v1.24.0
20: Periodic Notes v0.0.17
21: Editor Syntax Highlight v0.1.3
22: File Explorer Note Count v1.2.2
23: Recent Files v1.4.1
24: Automatically reveal active file v1.0.2
25: Advanced URI v1.40.1
26: Hover Editor v0.11.20
27: Homepage v3.8.0
28: Calendar v1.5.10
29: PodNotes v2.11.2
30: Copilot v2.5.2
31: Settings Search v1.3.10
32: Open Gate v1.11.6
33: More Data v1.0.0
34: Paste image rename v1.6.1
35: Github Copilot v1.0.7
36: Quick Latex v2.6.5
37: Git v2.24.2
38: Kanban v2.0.51


Additional information

we don’t support symlink to files.
Frankly, I don’t know if pdf.js can handle a 700MB pdf file. I suggest you break it into multiple files.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.