[SPARK-35825][INFRA] Increase the heap and stack size for Maven build
[SPARK-35825][INFRA] Increase the heap and stack size for Maven build

### What changes were proposed in this pull request?

Increase memory configuration for Maven build.
Stack size: 64MB => 128MB
Initial heap size: 1024MB => 2048MB
Maximum heap size: 1024MB => 2048MB

The SBT builds are ok so let's keep the current configuration.

### Why are the changes needed?

The jenkins jobs are unstable due to the stackoverflow errors:
 https://amplab.cs.berkeley.edu/jenkins/job/spark-master-test-maven-hadoop-3.2-jdk-11/
https://amplab.cs.berkeley.edu/jenkins/view/Spark%20QA%20Test%20(Dashboard)/job/spark-master-test-maven-hadoop-2.7/2274/

### Does this PR introduce _any_ user-facing change?

No

### How was this patch tested?

Jenkins test

Closes #32961 from gengliangwang/increaseXss.

Authored-by: Gengliang Wang <789196f1837e809005c9b5b207ae21d5a78ca970@apache.org>
Signed-off-by: Dongjoon Hyun <6ff48b33cbb828151035af58a92f18a39f1d1036@apache.org>

ueshin/apache-spark,zzcclp/spark,nchammas/spark,gengliangwang/spark,taroplus/spark,gengliangwang/spark,srowen/spark,WeichenXu123/spark,srowen/spark,WeichenXu123/spark,zzcclp/spark,HyukjinKwon/spark,shaneknapp/spark,apache/spark,zzcclp/spark,mahak/spark,HyukjinKwon/spark,hvanhovell/spark,nchammas/spark,shaneknapp/spark,JoshRosen/spark,gengliangwang/spark,holdenk/spark,holdenk/spark,zero323/spark,jiangxb1987/spark,nchammas/spark,rednaxelafx/apache-spark,ueshin/apache-spark,mahak/spark,taroplus/spark,milliman/spark,milliman/spark,xuanyuanking/spark,nchammas/spark,hvanhovell/spark,taroplus/spark,ueshin/apache-spark,xuanyuanking/spark,jiangxb1987/spark,jiangxb1987/spark,dongjoon-hyun/spark,JoshRosen/spark,apache/spark,zero323/spark,witgo/spark,HyukjinKwon/spark,wangmiao1981/spark,chuckchen/spark,gengliangwang/spark,JoshRosen/spark,milliman/spark,mahak/spark,taroplus/spark,zzcclp/spark,zero323/spark,dongjoon-hyun/spark,rednaxelafx/apache-spark,wangmiao1981/spark,holdenk/spark,mahak/spark,nchammas/spark,shaneknapp/spark,zzcclp/spark,chuckchen/spark,taroplus/spark,vinodkc/spark,witgo/spark,hvanhovell/spark,wangyum/spark,witgo/spark,chuckchen/spark,dongjoon-hyun/spark,cloud-fan/spark,holdenk/spark,vinodkc/spark,maropu/spark,WeichenXu123/spark,chuckchen/spark,shaneknapp/spark,ueshin/apache-spark,hvanhovell/spark,apache/spark,cloud-fan/spark,rednaxelafx/apache-spark,milliman/spark,cloud-fan/spark,HyukjinKwon/spark,shaneknapp/spark,zzcclp/spark,hvanhovell/spark,vinodkc/spark,chuckchen/spark,xuanyuanking/spark,xuanyuanking/spark,cloud-fan/spark,srowen/spark,milliman/spark,dongjoon-hyun/spark,WeichenXu123/spark,wangmiao1981/spark,chuckchen/spark,witgo/spark,HyukjinKwon/spark,rednaxelafx/apache-spark,zero323/spark,HyukjinKwon/spark,apache/spark,rednaxelafx/apache-spark,nchammas/spark,wangyum/spark,apache/spark,jiangxb1987/spark,holdenk/spark,zero323/spark,rednaxelafx/apache-spark,wangyum/spark,maropu/spark,shaneknapp/spark,JoshRosen/spark,HyukjinKwon/spark,vinodkc/spark,wangmiao1981/spark,taroplus/spark,dongjoon-hyun/spark,maropu/spark,zero323/spark,srowen/spark,chuckchen/spark,rednaxelafx/apache-spark,mahak/spark,milliman/spark,shaneknapp/spark,cloud-fan/spark,apache/spark,hvanhovell/spark,witgo/spark,dongjoon-hyun/spark,srowen/spark,ueshin/apache-spark,WeichenXu123/spark,vinodkc/spark,wangyum/spark,xuanyuanking/spark,gengliangwang/spark,taroplus/spark,holdenk/spark,ueshin/apache-spark,JoshRosen/spark,cloud-fan/spark,apache/spark,wangyum/spark,xuanyuanking/spark,zero323/spark,wangmiao1981/spark,maropu/spark,witgo/spark,JoshRosen/spark,witgo/spark,holdenk/spark,jiangxb1987/spark,maropu/spark,wangmiao1981/spark,maropu/spark,cloud-fan/spark,gengliangwang/spark,xuanyuanking/spark,zzcclp/spark,wangyum/spark,jiangxb1987/spark,WeichenXu123/spark,srowen/spark,jiangxb1987/spark,maropu/spark,mahak/spark,wangmiao1981/spark,ueshin/apache-spark,nchammas/spark,wangyum/spark,dongjoon-hyun/spark,milliman/spark,mahak/spark,vinodkc/spark,vinodkc/spark,gengliangwang/spark,JoshRosen/spark,hvanhovell/spark,srowen/spark,WeichenXu123/spark