Conversion Memory Limit
Table of contents
What is its function
This option allows you to specify the maximum memory of each conversion thread. When setting this you should consider the amount of RAM available, and how this will be divided between the number of concurrent conversions. This function is controlled by 1 config property.
- conversionMemoryLimit - The maximum memory (in MB) of each conversion thread
How to set this value
Create the following Java properties file on the server running your app server (if you don’t already have one) {user.home}/.idr/buildvu-microservice/buildvu-microservice.properties
In this file add (or update if the key already exists) the following key and value pair.
- conversionMemoryLimit - This can be a value between
1
and2,147,483,647
although a sensible range would be somewhere between256
and4096
, depending on the content of the documents being converted. e.gconversionMemoryLimit=1024
Default Value
The default value is 1024
(MB). When no values are provided or invalid values are provided the default Java value will be used, which will depend on the distribution of Java you are using.
How to use with Docker
In order to provide your own properties file to the Docker image you need to mount the properties file to the image. This is done by adding the following to your docker run command.
--mount "source=/path/to/properties/directory/buildvu-microservice.properties,target=/root/.idr/buildvu-microservice/buildvu-microservice.properties,type=bind"