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

Update pursuit.service to max heap size of 3.5GB #483

Merged
merged 1 commit into from Dec 6, 2023

Conversation

thomashoneyman
Copy link
Member

The Pursuit server used to have 2GB of memory. We've been seeing regular crashes as the server runs out of memory. We've upgraded to a 4GB server and need to bump this compiler flag to take advantage of the increased memory available — otherwise we see errors like this one:

$ journalctl -tf pursuit.service
Dec 06 17:08:16 pursuit pursuit[1133]: Starting in production mode
Dec 06 17:08:16 pursuit pursuit[1133]: pursuit: Heap exhausted;
Dec 06 17:08:16 pursuit pursuit[1133]: pursuit: Current maximum heap size is 1610612736 bytes (1536 MB).
Dec 06 17:08:16 pursuit pursuit[1133]: pursuit: Use `+RTS -M<size>' to increase it.

@thomashoneyman thomashoneyman merged commit e8dd25a into master Dec 6, 2023
2 checks passed
@thomashoneyman thomashoneyman deleted the trh/pursuit-mem branch December 6, 2023 18:10
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 this pull request may close these issues.

None yet

2 participants