A processor may analyze, using an AI system, an application, where the application includes one or more application modules. The processor may determine, using the AI system, that an application module is critical based on a contextual scenario. The AI system may be trained utilizing data regarding heat generation of hardware on which the application module is operating. The processor may identify, using the AI system, required resources of the hardware for the application module to function during the contextual scenario. The processor may allocate an availability of the required resources for the application module.