且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

tomcat6 windows服务属性默认内存

更新时间:2022-06-25 01:18:23

默认情况下,Tomcat 6 配置为使用最少 64 MB 的 RAM,最多 128 MB 分配给堆的 RAM.

By default Tomcat 6 is configured to use a minimum of 64 MB of RAM and a maximum of 128 MB of RAM allocated to the heap.

我建议将最大内存池增加到至少 1024 MB.这可能会增加,具体取决于您的服务器需求.

I would suggest to increase the max memory pool to at least 1024 MB. This could be increased, depending upon your server needs.

如果你想增加永久代内存,你可以在 Java 选项文本区域的单独一行中添加:-XX:MaxPermSize=128m

If you want to increase the Permanent Generation memory, you can add this in a separate line in the Java Options text area : -XX:MaxPermSize=128m