how to manage or lessen memory used by the programme??
Think of an optimized way which uses less memory. Rest, depends in the question and the contraints given.
Give a link on which you want to decrease the space used so it would be able for us to explain you!