1. An application execution apparatus comprising a kernel unit and at least one library unit which provides resources to applications, wherein the kernel unit includes notifying means for notifying, when an application is completed, each library unit which has provided a resource to the application, of the application, and each library unit includes collecting means for collecting the resource provided to the application, upon receiving the notification from the notifying means.