Steps to reproduce
-
On Linux, install a large TrueType Collection (TTC) registered with Fontconfig. For this reproduction,
Sarasa-SuperTTC.ttcis used. -
Launch the official Obsidian AppImage versioned v1.14.4 and open the Sandbox Vault. No community plugins, custom themes, or explicit selection of the affected font are required.
-
Observe the Obsidian process’s memory consumption using
top,btop, or/proc/<PID>/smaps. The process allocates several gigabytes of memory, including multiple large Chromium shared-memory regions. -
Close Obsidian completely and relaunch with:
./Obsidian-*.AppImage --disable-features=FontDataServiceLinuxRepeat the observation. The excessive memory allocation disappears.
Script to inspect for the allocation:
# Identify Obsidian's main process
ps -eo pid,ppid,rss,args | rg -i '[o]bsidian'
# Replace with main process PID
PID=<PID>
grep -E '^(Rss|Pss|Pss_Anon|Pss_File|Pss_Shmem):' \
"/proc/$PID/smaps_rollup"
awk '
/^[0-9a-f]+-[0-9a-f]+ / {
if (header != "") print pss, header
header = $0
pss = 0
}
/^Pss:/ { pss = $2 }
END { if (header != "") print pss, header }
' "/proc/$PID/smaps" | sort -nr | head -12
Did you read and follow the Troubleshooting Guide ? Yes
Expected result
Obsidian should operate with reasonable memory consumption regardless of whether large, valid TTC font collections are installed on the system.
Font loading should not result in multiple resident shared-memory copies of the entire font collection.
Actual result
Obsidian exhibits excessive multi-gigabyte memory consumption when the Sarasa SuperTTC font collection is available through Fontconfig.
Inspection of /proc/<PID>/smaps reveals multiple large /dev/shm/.org.chromium.Chromium.* allocations, each approximately matching the size of the TTC file.
The behavior is reproducible and can be eliminated by disabling Chromium’s FontDataServiceLinux feature. Restoring the default launch configuration brings the excessive allocation back.
Environment
SYSTEM INFO:
Obsidian version: 1.14.4
Installer version: 1.14.4
Operating system: #1 SMP PREEMPT_DYNAMIC Sun Oct 11 18:11:51 UTC 2026 7.2.10-200.fc44.x86_64
Login status: not logged in
Language: zh
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none
Distro Name: Fedora
Distro Version: 44, x86_64
Desktop Environment: GNOME, Wayland
Installation method used: AppImage
Additional information
Upstream reproduction
The same allocation behavior has been independently reproduced using Chrome for Testing 150 on the same Linux system.
- Chromium 150: Reproduces the excessive shared-memory allocations.
- Chromium 150 with
--disable-features=FontDataServiceLinux: The excessive allocations disappear. - Fedora Chromium 155: Does not exhibit the same behavior in the tested configuration.
This isolates the problem to Chromium’s Linux font-data handling rather than Obsidian’s application logic.
A related memory-consumption issue involving the same large TTC font collection was previously reported to VS Code (Issue #326439)
Probable upstream cause
Chromium’s FontDataService attempts to share font data with renderer processes. When it cannot obtain a shareable handle for the underlying font file, it may fall back to copying the font contents into shared-memory regions.
With a large TTC collection, repeated requests can consequently result in multiple full-sized memory allocations.
A relevant upstream Skia fix was merged on August 13, 2026:
[FontConfig] Implement onGetResourceName() for SkTypeface_FCI (Commit ID: 66d2fbf256c6c51ada191db80c28190f9cbd9c25)
The commit enables Fontconfig-backed typefaces to expose their source filenames, allowing Chromium font-service clients to retrieve the original font file path rather than relying on a fallback mechanism.
This closely matches the observed failure, although the exact patch has not yet been independently confirmed as the fix for this reproduction.
Suggested fix
The most direct resolution for Obsidian is to update its bundled Electron runtime to a version based on a newer Chromium release containing the relevant upstream font-handling fix.
Obsidian 1.14.4 currently ships Electron 43.7.5, based on Chromium 150, where the behavior is reproducible.
Chromium 155 has been tested without the excessive allocation, suggesting that the relevant upstream changes are already available in a newer Chromium baseline.
Updating Electron and verifying the result against a large TTC collection would address the problem at the runtime level without requiring application-specific font handling.
In the meantime, affected Linux users can launch Obsidian with:
--disable-features=FontDataServiceLinux
This is an effective temporary workaround that preserves access to the installed fonts.
It would be useful to track this as an upstream Electron/Chromium dependency issue until Obsidian ships a runtime in which the allocation is resolved.