Is the universe infinite?
Einstein proposed a finite but unbounded universe, a closed three-dimensional space analogous to a sphere's surface. This answered worries about boundaries and about gravity in infinite Newtonian space.
Space can curve back on itself so that it has finite volume yet no edge, which avoids both a wall and an endless expanse.
Source: Cosmological Considerations on the General Theory of Relativity