I believe an important aspect of compilers is not only how much better code they produce and how long it takes them to produce it but also how good they are with memory management.

I am part of a team that develops heavily templated C++ code and we noticed memory consumption going up in each gcc release.

Did anybody experience something like this? Can the benchmarks be enhanced so they also show maximum memory used when compiling?