Below are the causes and step-by-step solutions to resolve the issue.
The map generator uses GPU resources to calculate terrain heightmaps. Outdated drivers can cause memory allocation failures during map generation. age of empires 3 random map failed to load