add memsize to control

Signed-off-by: Tomas Neme <lacrymology@gmail.com>