added max memory to dashboard js