1. A computer-implemented method for analyzing an application and extracting memory allocation information from the application, the application not specifically designed to provide memory allocation information, the method comprising: performing one or more analyses on the application, including one or more of a static analysis to identify memory-related behavior in an application binary module and a dynamic analysis to identify memory-related behavior at run time of the application; based on performing the analysis, modifying the application with redirection code to provide allocation information at locations within the application where the application allocates memory; based on modifying the application with the redirection code, at an application host, receiving a request from the application to allocate memory; at the application host, collecting, from the redirection code, allocation information indicating a purpose of the request and a priority level of the request; and at the application host, managing use of memory by the application.