Build out memory worker lambda for dynamic and precise memory re-allocation