Today, I ran into some trouble playing on a map I'm updating (#2881) which made it impossible for me to test it. My Ram would go from 1GB used to 1.5GB and then crash, no matter what, I asked @andy5995 to test it and that ran fine without errors on his linux laptop (Enjoy the choice) though it also peaked up at 1.5GB, So I googled a bit and found this tool https://www.techpowerup.com/forums/threads/large-address-aware.112556/ which basically allows 0ad to use more ram since I have a 64bit machine I applied it on pyrogenesis, and voilà, no more out of memories issues, and memory peaks at 1.6GB before going back to 1.0GB, so i guess it's stacking something every turn ? and that consumes too much memory. Maybe @Itms or @wraitii or @leper or @historic_bruno might know more about it. Good thing is that fixes my issue, don't know if that causes issues with multiplayer though, so as always, test it at your own risks.
Maybe this is something we can put in our code. https://msdn.microsoft.com/en-us/library/aa366778.aspx
EDIT 1: It seems to also fix the big screenshot issue on windows (#1619)
EDIT 2: Memory goes up to 2GB