diff --git a/src/main/xar-resources/data/configuration/configuration.xml b/src/main/xar-resources/data/configuration/configuration.xml index a9133250..70efce9b 100644 --- a/src/main/xar-resources/data/configuration/configuration.xml +++ b/src/main/xar-resources/data/configuration/configuration.xml @@ -65,6 +65,9 @@ xupdate: Configuration options related to XUpdate processing. + + rpc-server: Configuration options related to RPC result pooling. + The following sections describe the most commonly modified of the above elements, including how to change the default behavior of eXist-db's handling of whitespace @@ -994,6 +997,63 @@ + + + + <tag>rpc-server</tag> element + + Defines the RPC server backend specific options used to process the requests and caching + result values. + + + <tag>rpc-server</tag>/<tag>content-file</tag> element + + This element configures the maximum amount of data in bytes held in the heap space before + the data is moved to the temporary disk space. While using memory improves the performance + and not triggering eventually existing virus scanners it comes with the cost of heap size usage. + The location, size and other parameters for this file can be set using the + content-file element. + content-file Attributes: + + + max-in-memory-size + + Defines the maximum amount of data in bytes to hold in memory, before storing on + temporary disk space. + + + + + + + <tag>rpc-server</tag>/<tag>content-file-pool</tag> element + + This element configures the pool used to hold the content file entries in order to reuse the once + initialized instances to further improve the performance and to limit the amount of used heap size. + To calculate the maximum size of used memory the maximum in memory size of a single content file has + to be multiplied by the size of the pool. + The location, size and other parameters for this file can be set using the + content-file-pool element. + content-file Attributes: + + + size + + Specifies the maximum amount of content file objects that can be in use concurrently. + + + + max-idle + + Defines the maximum amount of idle pool entries that will not be removed for later reuse. + + + + + + + +