initial memory management