vince.cimo
Well-known member
Hi guys, I'm running into a strange issue where after upload, my Teensy LC becomes unresponsive seemingly due to out of memory errors, even though my data usage is well within the limits.
For example:
I have an data array with 5 values; on upload, the data usage is calculated as follows:
DATA: [===== ] 54.3% (used 4448 bytes from 8192 bytes)
PROGRAM: [==== ] 40.9% (used 25996 bytes from 63488 bytes)
When I compile and upload, all of my serial.print lines work fine and the program works great.
If, without changing anything else, I increase the size of my array to hold 6 values, the data usage is calculated as such:
DATA: [====== ] 57.8% (used 4736 bytes from 8192 bytes)
PROGRAM: [==== ] 41.0% (used 26004 bytes from 63488 bytes),
But my program is unresponsive.
Are the calculated memory usages not indicative of what's happening at runtime? Is there any way I can see where i'm at during runtime with memory usage?
For example:
I have an data array with 5 values; on upload, the data usage is calculated as follows:
DATA: [===== ] 54.3% (used 4448 bytes from 8192 bytes)
PROGRAM: [==== ] 40.9% (used 25996 bytes from 63488 bytes)
When I compile and upload, all of my serial.print lines work fine and the program works great.
If, without changing anything else, I increase the size of my array to hold 6 values, the data usage is calculated as such:
DATA: [====== ] 57.8% (used 4736 bytes from 8192 bytes)
PROGRAM: [==== ] 41.0% (used 26004 bytes from 63488 bytes),
But my program is unresponsive.
Are the calculated memory usages not indicative of what's happening at runtime? Is there any way I can see where i'm at during runtime with memory usage?