Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

limit save history size #9

Open
practicalli-johnny opened this issue Jul 28, 2023 · 0 comments
Open

limit save history size #9

practicalli-johnny opened this issue Jul 28, 2023 · 0 comments

Comments

@practicalli-johnny
Copy link
Collaborator

practicalli-johnny commented Jul 28, 2023

Spacemacs can degrade in performance when save history files grow.

Set limits on the size of key history files in the `dotspacemacs/user-config section of the Spacemacs user config

(setq history-length 100)
(put 'minibuffer-history 'history-length 50)
(put 'evil-ex-history 'history-length 50)
(put 'kill-ring 'history-length 25)

It may be valuable to clear the history files in the .cache directory of the Spacemacs configuration, e.g .config/Emacs/.cache or .emacs.d/.cache

Spacemacs issue discussion
syl20bnr/spacemacs#9409 (comment)

Stack exchange question
https://emacs.stackexchange.com/questions/12086/high-cpu-memory-usage-and-abnormally-large-savehist-file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant