Can anybody give any advice on the Dynamic Memory usage in XOD? I’ve been looking around but can’t find anything… I’m getting this error about memory
Begin compiling code for the board Arduino Mega or Mega 2560 📦
Sketch uses 180414 bytes (71%) of program storage space. Maximum is 253952 bytes.
Global variables use 8529 bytes (104%) of dynamic memory, leaving -337 bytes for local variables. Maximum is 8192 bytes.
Not enough memory; see http://www.arduino.cc/en/Guide/Troubleshooting#size for tips on reducing your footprint.
Error during build: data section exceeds available space in board
Compilation failed
Command Process exited with code 1
The generated C++ code contains errors. It can be due to a bad node implementation or if your board is not compatible with XOD runtime code. The original compiler error message is above. Fix C++ errors to continue. If you believe it is a bug, report the problem to XOD developers.
I’ve only got one watch node on the project, currently. I’ve also minimized by programming out variadic nodes, to constant “arity”.
I didn’t see any way to verify the usage of the memory without throwing an error. Is there a way to see the memory usage of this Dynamic Memory?
Is it the use of BUSES? Are all the pins on the nodes contributing to this memory? What if I wire constants to the pins instead of just typing in a default value? What eats up all the memory, generally?