Fixing disk space and memory calc