Mahima is a type of siddhi, the power got in the process of Yoga. Mahima gives one the ability to increase one's size to any extent.
Mahima siddhi is demonstrated by
Hanuman, who was an accomplished Siddha or a perfected yogic being, when in the court of
Ravana.