window-memory: use a value based on system memory and cpus