Simple memory allocation accounting