fix memory config to working

fix #147

Signed-off-by: Hiroshi Miura <miurahr@linux.com>