Tune Memory/Caching for the Integrated MashZone Server
Presto, the Integrated
MashZone Server and the
Event Service share the local Java heap memory. Heap memory is also used for internal caches and
Presto In-Memory Stores used in
Presto Analytics.
Presto can also be configured to use off-heap memory if you have installed
BigMemory Servers. For more information, see
Memory Configuration for the
Presto Server .
The Integrated MashZone Server and the Event Service are initially installed based on assumptions for a small web application. This default memory allocation may work well for development environments, but may need to be adjusted for staging or production environments. Memory requirements for Presto, the Presto In-Memory Stores and event sources in the Event Service may also affect the overall available memory, requiring tuning for MashZone internal caches.
You may adjust configuration for both Java heap memory and memory configuration for the internal caches used by the Integrated MashZone Server using the following techniques:
Manual tuning gives you greater control to balance memory requirements for Presto, the Integrated MashZone Server and the Event Service, but does require manual updates to several configuration files.
This uses a simple script to automatically update memory and cache configuration based on preset sizes. These preset values, however, do not take any memory requirements for Presto or Presto In-Memory Stores into account and thus may not be suitable in some circumstances.