srid/emanote

High memory usage on large notebooks

Aberta

#66 aberto em 16 de jun. de 2021

 (1 comentário) (1 reação) (0 responsável)Haskell (78 forks)github user discovery
help wantedperformance

Métricas do repositório

Stars
 (948 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 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

Guia do colaborador