Implement Max ram setting