Setting the Memory Used by Digital Hive

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

  1. In Services, stop DigitalHive - node1
  2. In File Explorer navigate to DigitalHive\app\node1\tomcat\bin
  3. Right click tomcat9w
  4. Select Create shortcut
  5. Drag tomcat9w - Shortcut to your Desktop
  6. Select Properties
  7. In Target, append   //ES//DigitalHive-node1
  8. Click OK
  9. Double click tomcat9w - shortcut
  10. Click Yes
  11. Click the Java tab
  12. 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
  13. Clik OK
  14. In Services, start DigitalHive - node1
Digital Hive is now set for an 8GB JVM

Setting the Tomcat Memory in Linux

  1. Navigate to your DigitalHive home, in this example, cd /home/mk3admin/DigitalHive
  2. Stop Tomcat by running ./tomcat.sh -stop
  3. Edit theia.properties, for example, vi /home/mk3admin/DigitalHive/app/node1/tomcat/conf/theia.properties
  4. Look for the motio.theia.tomcat.jvm.opts property
  5. 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
  6. Save :wq
  7. 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 Installation and Configuration Overview

      Overview This article serves as a collection of all the steps required to install and configure the Digital Hive solution. Prerequisites Digital Hive can be installed on either Windows or Linux based systems. From a server sizing perspective, the ...
    • 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 ...
    • What's New in the 2024.3 Digital Hive Release

      This articles details the new product features, enhancements, and resolved issues, that were included as part of the Digital Hive 2024.3 release. New Features & Enhancements Upgraded versions of PostgreSQL and ElasticSearch This release of Digital ...
    • What's New in the 2024.1 Digital Hive Release

      This articles details the new product features, enhancements, and resolved issues, that were included as part of the Digital Hive 2024.1 release. New Features & Enhancements Flyout button The Flyout button element is a great way to provide contextual ...