Update generate_optimal_configs.sh

fix XMX