1. A method of managing a memory for an application server in a run-time environment, comprising: performing a call to a database server; and at an end of the call, performing the steps of: migrating, into a process-specific area of memory, objects in a call-specific area of memory and objects in a session-specific area of memory that are reachable from the objects in the process-specific area of memory, and migrating, into the session-specific area of memory, objects in the call-specific area of memory that are reachable from objects in the session-specific area of memory but not from objects in the process-specific area of memory.