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

dynamic maximum size of GCodeBuffer #35

Open
woutgg opened this issue Feb 10, 2016 · 1 comment
Open

dynamic maximum size of GCodeBuffer #35

woutgg opened this issue Feb 10, 2016 · 1 comment

Comments

@woutgg
Copy link
Contributor

woutgg commented Feb 10, 2016

Currently, the GCodeBuffer has a hard-coded maximum size of 3MiB. It might be useful if it could lower this maximum dynamically based on the amount of free memory. Perhaps sysinfo could come in handy.

@woutgg
Copy link
Contributor Author

woutgg commented Feb 23, 2016

Another reason why this can be useful is in circumstances where more memory is available, it could allow for more data to be stored or even disable the limit.

This might be useful when using the server on larger machines, especially when sending files using the front-end which are larger than the limit, which is currently impossible.

Another case where this can be useful is when external storage is attached to the wifibox, which for instance allows for a swap partition.

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

No branches or pull requests

1 participant