Yuri,
I was able to reproduce it. The fact that it can use 20gb just render that was a bad sign.
The problem lies somewhere in Gringo's Macro. Even when ungrouped, the sum of those tools are chewing up ram.
I will submit this to dev team for review.
Thanks for taking the time to bring this to our attentions.