Memoryless: A Two-phase Methodology for Setting Memory Requirements on Serverless Applications