One big problem is that, as planets start getting larger, their escape velocity increases. Eventually, it'll get to the point where even the lightest gases (hydrogen and helium) will stay put, and you'll have a runaway reaction as the planet sweeps up material from the solar system's initial gas cloud.
I've heard that there's probably not much middle ground between large rocky planets like Earth, and smaller gas giants like Uranus or Neptune. I'm no expert, but I seem to recall that the biggest rocky planet you could get would have about twice the mass of the earth.
Jeremy