I don't think space is "literally" being curved... That's just a type of metaphor used to describe the intensity of gravity, I believe. The bigger the "curve" in towards an object, the more pwerful the gravity is.
Essentially it is a type of "quantum foam"... metaphorically...
