#2250·delta

High memory usage when diffing minified JS

Author: youvegotmoxieCreated Sep 24, 2026Updated Sep 24, 2026
Image

Command executed from git diff

delta --pager=never --max-line-length=0
❯ git diff --stat
 .obsidian/plugins/templater-obsidian/main.js       | 24 ++++++++++++------------
 .obsidian/plugins/templater-obsidian/manifest.json |  2 +-
 .obsidian/plugins/templater-obsidian/styles.css    |  5 +++++
 3 files changed, 18 insertions(+), 13 deletions(-)

I realize a potential solution to this was to limit the line length but even so, this seems excessive. The diff is against an Obsidian vault that had some plugins updated so lots of minified Javascript.

❯ delta --version
delta 0.19.2