Increasing Java Heap Size

前端 未结 6 1703
死守一世寂寞
死守一世寂寞 2021-01-28 02:43

I\'m trying to increase value of heap size of my jvm, but it doesn\'t work. Could anybody help me with this geek problem? My configuration are follow: Windows 7 x64, 4 GB, i3 CP

6条回答
  •  情歌与酒
    2021-01-28 03:05

    Your command is half correct. You need to specify what you want to run with an increased heap size. Something like this

    java -Xmx2000M -Xms1000M -jar .jar
    

提交回复
热议问题