Oracle Interview Question

what happens to program's memory when it runs?