[英]Increase java heap space in Tomcat - Windows 7 Client
我在Windows 7客户端计算机上安装了Apache Tomcat,并且正在将geoserver.war用作部署。
我不断在Geoserver中遇到超时/ Java内存问题。 [(http:// localhost:8080 / geoserver / web /]
有很多关于如何在Linux下而不是Windows Client下增加空间的示例。 我目前有8GB DDR5内存和一个Intel Core i5。
关于如何在Windows客户端上增加此值的任何想法?
您可以通过添加以下参数来增加JVM
堆空间,它也可以在Windows和Linux上运行:
-Xmx2048m -> this param to set the max memory that the JVM can allocate
-Xms1024m -> the init memory that JVM will allocate on the start up
-XX:MaxPermSize=512M -> this for the max Permanent Generation memory
为了在tomcat下添加它们:
[TOMCAT_HOME]/bin
tomcat7w.exe
Java tap
,然后将其添加到Java Options
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.