I've found that as long as dogs get daily walks and exercise, most breeds do fine in smaller spaces. Shar Peis are awesome. I had one growing up and she was an inside dog. I didn't live in an apartment but the space doesn't really matter. A dog doesn't really have the same sense of space that humans have and aren't going to notice if they're in a small apartment or a larger house as long as you have the time to take them on walks every day.