Detect and Overcome Insufficient Resource Usage in Software