Here's the Android 16 build system in action, where they managed to make it use 35G of RAM when generating ninja rules.
And this is with quite a lot of optimizations that were made between 15 and 16, when backported to 15 they reduced RAM usage from 30G to 25G, bless it being developed in the open, OH right, nvm not anymore.
You may ask, is this sane? No, just Android in all its glory.