To grow peas in a small space, you can consider using vertical gardening techniques such as trellises or stakes to allow the pea plants to grow upwards instead of spreading out. Additionally, choose dwarf or bush varieties of peas that are more compact and suitable for small spaces. Make sure to provide adequate sunlight, water, and well-draining soil for successful pea growth in a limited space.