The Uno has very little dynamic memory (2K). Are there any tools for monitoring the use of dynamic ram? I particular, I would like to know what the maximum stack and heap sizes are while executing a sketch.
There is e.g. Arduino Playground - AvailableMemory
// Added
stack overflow vs heap fragmentation
could you post your sketch ?