For memory operation debug we will use Valgrind (http://developer.kde.org/~sewardj/) - an open-source memory debugger for x86-GNU/Linux.