Improving the efficiency of serverless applications through reducing allocation footprint