fix memory size