Provide solution to clear memory usage at the end of an execution in the GUI mode of the applications.