They mean more or less the same thing, but "wealth of something" is generally used in a positive statement, while an "ocean of something" is generally used in a negative statement, for example: I got a wealth of information from the website. I was drowning in an ocean of troubles. He suddenly had an ocean of cash, with no idea of what to do with it.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.