Setting the Memory Used by Digital Hive
Question
How do you set the amount of memory that Digital Hive uses?
Answer
If you have lots of available memory on the Digital Hive server you will want to increase the Tomcat JVM.
Setting the Tomcat Memory in Windows
- In Services, stop DigitalHive - node1
- In File Explorer navigate to DigitalHive\app\node1\tomcat\bin
- Right click tomcat9w
- Select Create shortcut
- Drag tomcat9w - Shortcut to your Desktop
- Select Properties
- In Target, append //ES//DigitalHive-node1
- Click OK
- Double click tomcat9w - shortcut
- Click Yes
- Click the Java tab
- Set Initial memory pool and Maximum memory pool to the size you want, for example, if you want to increase to 8 GB, then set them to 8192
- Clik OK
- In Services, start DigitalHive - node1
Digital Hive is now set for an 8GB JVM
Setting the Tomcat Memory in Linux
- Navigate to your DigitalHive home, in this example, cd /home/mk3admin/DigitalHive
- Stop Tomcat by running ./tomcat.sh -stop
- Edit theia.properties, for example, vi /home/mk3admin/DigitalHive/app/node1/tomcat/conf/theia.properties
- Look for the motio.theia.tomcat.jvm.opts property
- Change the Xms and Xmx to the size you want, for example, if you want to set the JVM to 8 GB, then set them to -Xms8192m -Xmx8192m
- Save :wq
- Start Tomcat by running ./tomcat.sh -start
Digital Hive is now set for an 8GB JVM
Related Articles
Setting the Memory Used by Elasticsearch
Question Can I increase the JVM for Elasticsearch? Answer Yes, it is possible to adjust the Elasticsearch JVM size. By default, Digital Hive sets the Elasticsearch JVM to 500 MB for each node and this is sufficient for most environments. If your ...
Digital Hive Designer Elements Used for Authoring Hives
Overview Digital Hive provides a very robust, zero code, authoring experience that enables authors to create visually stunning and impactful end user applications, called Hives. As part of the authoring process, there are different elements that can ...
Unable to Explore Digital Hive Content
Question When using the Explore Content interface to browse the Digital Hive content, a message stating "Something went wrong" and a Try Again button is displayed How do I resolve this? Answer This issue is usually a result of Elasticsearch being ...
Backing up the Digital Hive Content Store
Question Is there a way to backup the Digital Hive content store? Answer Digital Hive uses PostgreSQL as the application content store. As part of the Digital Hive platform, a daily process executes that creates an archive of the entire content ...
Digital Hive Architecture Overview
Overview Digital Hive is a lightweight, web-based application that is both easy to install as well as to maintain and manage. Other than the Microsoft C++ redistributable (https://www.microsoft.com/en-ca/download/details.aspx?id=40784), there are no ...