Performance Tuning
Increase Module Memory
Increase the memory for modules using environment variables. Memory configuration is available for Config, Fuze, Search, Payment, Files, PDF, Manager, NLP, Publish, and Security. Below are examples of how to configure each.
Config
version: '3.5'
services:
config:
environment:
- MAX_HEAP=2048m
- INITIAL_HEAP=2048m
Fuze
version: '3.5'
services:
fuze:
environment:
- MAX_HEAP=2048m
- INITIAL_HEAP=2048m
Search
version: '3.5'
services:
search:
environment:
- MAX_HEAP=2048m
- INITIAL_HEAP=2048m
Payment
version: '3.5'
services:
payment:
environment:
- MAX_HEAP=2048m
- INITIAL_HEAP=2048m
Files
version: '3.5'
services:
files:
environment:
- MAX_HEAP=2048m
- INITIAL_HEAP=2048m
PDF
version: '3.5'
services:
pdf:
environment:
- MAX_HEAP=2048m
- INITIAL_HEAP=2048m
Manager
version: '3.5'
services:
manager:
environment:
- MAX_HEAP=2048m
- INITIAL_HEAP=2048m
NLP
version: '3.5'
services:
nlp:
environment:
- MAX_HEAP=2048m
- INITIAL_HEAP=2048m
Publish
version: '3.5'
services:
publish:
environment:
- MAX_HEAP=2048m
- INITIAL_HEAP=2048m
Security
version: '3.5'
services:
security:
environment:
- MAX_HEAP=2048m
- INITIAL_HEAP=2048m
Increase ONgDB Memory
You can find the memory configuration in the ONgDB section of the docker-compose.yml
project file.
version: '3.5'
services:
ongdb:
environment:
- ONGDB_dbms_memory_heap_initial__size=1024m
- ONGDB_dbms_memory_heap_max__size=1024m
- ONGDB_dbms_memory_pagecache_size=1024m
Increase Elasticsearch Memory
Elasticsearch memory can be increased by modifying docker-compose.yml
in the root of the package
version: '3.5'
services:
elasticsearch:
environment:
- ES_JAVA_OPTS=-Xmx1024m -Xms1024m