to increase MaxPermSize memory in Java by command line

前端 未结 3 1205
清歌不尽
清歌不尽 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:51

    From Gate's documentation

    2.7.5 I got the error: Could not reserve enough space for object heap [#]

    GATE doesn’t use the JAVA_OPTS variable. The default memory allocations are defined in the gate/build.xml file but you can override them by creating a file called build.properties in the same directory containing
    runtime.start.memory=256m
    runtime.max.memory=1048m

    Check your gate/build.xml file and include the options cited in the other answers

提交回复
热议问题