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 scheduler memory to prevent system crash #7

Open
Philogy opened this issue Jun 9, 2024 · 0 comments
Open

Limit scheduler memory to prevent system crash #7

Philogy opened this issue Jun 9, 2024 · 0 comments
Labels
bug Something isn't working QoL Quality of Life improvement

Comments

@Philogy
Copy link
Owner

Philogy commented Jun 9, 2024

Especially when running in Dijkstra mode (-d) the scheduler is prone to using increasing amounts of memory until eventually taking over the entire person's computer. In some instances this can cause a system-wide crash if the program isn't exited soon enough.

Suggested Fix

Track the size of the maps in the scheduler and abort at some size. Should be configurable via the CLI and have sane defaults.

@Philogy Philogy added bug Something isn't working QoL Quality of Life improvement labels Jun 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working QoL Quality of Life improvement
Projects
None yet
Development

No branches or pull requests

1 participant