update documentation and cli help for memory flag

* update readme
* update cli help