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

Document HUGO_MEMORYLIMIT #2434

Closed
jmooring opened this issue Feb 11, 2024 · 0 comments · Fixed by #2420
Closed

Document HUGO_MEMORYLIMIT #2434

jmooring opened this issue Feb 11, 2024 · 0 comments · Fixed by #2420
Assignees

Comments

@jmooring
Copy link
Member

Memory Limit

Hugo will, by default, set aside a quarter of the total system memory, but you can set this via the OS environment variable HUGO_MEMORYLIMIT (in gigabytes). This is backed by a partitioned LRU cache used throughout Hugo. A cache that gets dynamically resized in low memory situations, allowing Go's Garbage Collector to free the memory.

gohugoio/hugo#11894 (comment)

@jmooring jmooring self-assigned this Feb 12, 2024
jmooring added a commit to jmooring/hugo-docs that referenced this issue Feb 12, 2024
jmooring added a commit to jmooring/hugo-docs that referenced this issue Feb 12, 2024
jmooring added a commit to jmooring/hugo-docs that referenced this issue Feb 13, 2024
jmooring added a commit to jmooring/hugo-docs that referenced this issue Feb 13, 2024
jmooring added a commit to jmooring/hugo-docs that referenced this issue Feb 15, 2024
jmooring added a commit to jmooring/hugo-docs that referenced this issue Feb 15, 2024
jmooring added a commit to jmooring/hugo-docs that referenced this issue Feb 16, 2024
jmooring added a commit to jmooring/hugo-docs that referenced this issue Feb 17, 2024
@bep bep closed this as completed in 97a8d29 Feb 19, 2024
@bep bep closed this as completed in #2420 Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant