0

How to change GeoServer memory limits for Cross-layer filter in Linux?

0

As the page you link to says:

These limits can be overridden by setting alternate values for the following parameters (this can be done using JVM system variables, servlet context variables, or environment variables):

QUERY_LAYER_MAX_FEATURES controls the maximum number of features collected by queryCollection

GEOMETRY_COLLECT_MAX_COORDINATES controls the maximum number of coordinates collected by collectGeometries

So you can set a JVM variable by editing the startup script of your container manager (jetty or tomcat?) and looking for JAVA_OPTS or you can set the servlet context variables by editing the web.xml file or you can set the variables in your systems environment as normal.

  • I don't know where located startup script (jetty or tomcat) – Cold Pol Apr 29 at 9:15
  • may you write path for it? – Cold Pol Apr 29 at 9:16
  • it would depend on where you had installed it, which would depend on you knowing which one you had installed. – Ian Turton Apr 29 at 9:18
  • Geoserver installed in docker container. With Tomcat. – Cold Pol Apr 29 at 9:43
  • then you are looking for catalina.sh probably in /var/lib/tomcat/bin – Ian Turton Apr 29 at 9:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.