Well, you should only need 5 million gold; any more and your game has a glitch problem. Sometimes that happens where you get more of something than you had before, but the game didn't update your stock (or gold pile in this case). If it stays too low then all I can say is that's really annoying.