Memory allocation

This article explains how to allocate memory of a certain size to the CryptoSpike and Clickhouse services on the CryptoSpike Server.

Instructions

You will need access to the console of the CryptoSpike VM in order to complete the following steps:

  1. Navigate to System > Services Memory.

  2. In the Services Memory page you can set the memory allocation to the CryptoSpike Server service and the Clickhouse (DB) service. Set the desired amount of memory for each service and press Enter to confirm.

  3. For the changes to take effect, you will have to restart the CryptoSpike Server service in Review Services. It it not necessary, however, to restart Clickhouse.

We recommend to assign equal amounts of memory to both CryptoSpike and ClickHouse and leave ~2GB of memory for the underlying OS.

For a VM with 16GB of RAM:

7GB CryptoSpike + 7GB ClickHouse + 2GB OS = 16Gb Total

Be careful not to exceed the total amount of memory of the VM. This can lead to the services running out of memory, which in turn can cause performance degradation.

You should then be able to see your changes having taken effect in the System Status view of the CryptoSpike Web Console.

CS Review / Restart Services