Minor changes

Fixed stupid copy-paste error in external process part of memory_usage()

Add ret to docstring of memory_usage()

Signed-off-by: cheesinglee <cheesinglee@gmail.com>