New versions of Arduino will report ram usage: https://github.com/arduino/Arduino/pull/1377