How can I implement memory management to optimize and conserve memory usage? - EdgeBench