In addition to the other excellent answers, in some contexts it can have a more positive meaning, something like "making the most of the opportunities. You might hear a group of friends say that the "maxed out the weekend", meaning that their weekend was full of great activities and they couldn't have fitted in any more fun than they did.
But more often, and certainly in your example "I was maxed out", it means that I have spent more money or more energy than I had, and I'm now broke or exhausted.