Rosette’s memory consumption includes the JVM heap and memory mapping of on-disk files. The size of these vary depending on the endpoint(s) enabled in the instance.
Rosette Enterprise’s data files are loaded into virtual memory. Some endpoints, such as
/entities, involve a large amount of data. In order for Rosette to operate at its peak performance, we recommend that you reserve enough free memory to allow memory mapping of all our data files so that page misses are minimized at runtime.
To estimate the size for memory mapping, you can sum up the files in the unpacked
roots folder in your installation.
Many of Rosette’s endpoints organize their data by language. So you can further refine your estimates if you know exactly which languages your input documents are in. Just look for the sub-folders and files under
roots/<component-name>-<version> that carry a 3-character ISO 693 code and exclude those not applicable to you.