Infosys interview question

How can u increase the heap size in the memory?