srid/emanote

High memory usage on large notebooks

Open

#66 opened on Jun 16, 2021

 (1 comment) (1 reaction) (0 assignees)Haskell (78 forks)github user discovery
help wantedperformance

Repository metrics

Stars
 (948 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

For this notebook,

~/Downloads/large 
❯ du -sh .
69M	.

~/Downloads/large 
❯ find . -name \*.md | wc -l
4561

Emanote takes ~4.7GB of resident memory. It takes a while (~1m) to load all these files at startup, and but runs fine afterwards. The @Index page is slow to render as well, but that should be addressed by use of sub-index'es as described in https://github.com/srid/emanote/discussions/50

Contributor guide