OPEnSLab-OSU / ednaServer

GNU Affero General Public License v3.0
4 stars 0 forks source link

Large Task File (such as 24 Valve task) Will Halt Machine #11

Closed NathanJesudason closed 1 year ago

NathanJesudason commented 2 years ago

What causes this? When loading a Task File that is large, the machine will halt because it is larger than the current buffer size.

What does this problem look like? When would someone experience this problem? A 24 Valve task will save, but upon wake up the machine will halt. If loading with the serial monitor, it will output the issue as the size being larger than the buffer.

How to resolve/avoid this issue? Latest code has increased the buffer size from 800 bytes to 1000 bytes. If this is still occurring on the latest version, then increasing the buffer size further may help, although a task file should not be able to created that is that large.

Additional context Currently, saving a task file that is too large doesn't have any issues, it is just loading.