set -Xms in gateway process