> I know there's CXTUResourceUsage and related API in clang. 3.0, but is there > a way to get TU (entire AST) memory usage with clang 2.9? You should use clang 3.1 - 2.9 and 3.0 are obsolete. -- Regards, Konstantin