How to increase Java heap space for a tomcat app

前端 未结 10 2408
攒了一身酷
攒了一身酷 2020-12-08 09:59

There are lots of questions that ask this or a similar question.

They all give the command that has to be executed, what I don\'t understand is where do I write this

10条回答
  •  难免孤独
    2020-12-08 10:43

    Just set this extra line in catalina.bat file

    LINE NO AROUND: 143

    set "CATALINA_OPTS=-Xms512m -Xmx512m"
    

    And restart Tomcat service

提交回复
热议问题