fix memory size in sidebar