What age do you stop growing taller and stay the same height?

Im a male who is 18.My height is 6ft1.5in and i weight242lb.I eard there is a certain age were your bones dont grow tall ny more.I heard females stop growing faster then males and males keep growing for a longer time.What are the age limits in growing taller in both genders?