I have a sketch that stops working (sometimes within hours and sometimes as long as 5 days) that I can't seem to fix; I believe that I have a memory leak, but I'm not 100% positive.
Would a memory leak show up as a slowly building issue in Luci's Memory status graphs? If the memory stays static up until the Yun is unresponsive, would that suggest another issue? BTW, the error that I receive is "nil socket connection" using the arudino.local/data/get command. Resetting the 32U4 using the reset button makes the unit work again, suggesting that it's a memory leak, right?
Otherwise, are there other ways to diagnose a memory leak or other error? Everything compiles fine and runs for a while, but then quits. It's hard to test new changes when it may take up to a week to get the error.