Add a default option to override agent max memory