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

Check for sufficient free memory before allocating a new heap block #1013

Open
dc42 opened this issue May 28, 2024 · 0 comments
Open

Check for sufficient free memory before allocating a new heap block #1013

dc42 opened this issue May 28, 2024 · 0 comments
Assignees
Labels
enhancement Additional functionality, performance or other feature request

Comments

@dc42
Copy link
Collaborator

dc42 commented May 28, 2024

Currently, excessive use of variables and especially arrays can lead to Out Of Memory resets on Duet 2, which are hard to debug. We should consider checking whether there is enough free memory for a new heap block and aborting the current meta command graciously if not. See https://forum.duet3d.com/post/339777.

@dc42 dc42 self-assigned this May 28, 2024
@T3P3 T3P3 added the enhancement Additional functionality, performance or other feature request label Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Additional functionality, performance or other feature request
Projects
None yet
Development

No branches or pull requests

2 participants