What causes heaviness in legs?

It could be poor circulation, leading to swelling. If you habitually sit for hours at a time, with your feet touching the floor, start getting up for at least a few minutes' walk around the office. This will increase the blood flow. If you cannot find relief through walking or massage, then check in with your doctor--soon.