to increase MaxPermSize memory in Java by command line

前端 未结 3 1245
清歌不尽
清歌不尽 2021-01-24 10:56

Could you please explain me how to increase this PermSpace size. I am using Gate application and loading huge amount of data and large number of plugins and unfortunately after

3条回答
  •  野性不改
    2021-01-24 11:48

    You have to use -XX:MaxPermSize. A sample command could be:

    java -Xms128m -Xmx512m -XX:MaxPermSize=512m ...
    

提交回复
热议问题