APACHE SLING & FRIENDS TECH MEETUP
10-12 SEPTEMBER 2018
how much heap?
how much RAM?
how much page cache?
how to avoid OOM?
RAM = 8GB
kernel = 200MB
/proc/meminfo [Slab + KernelStack + PageTables]
monitoring (logstash) = 800MB
heap = 4G
java -Xmx4G cq-quickstart
page cache = 2GB
/proc/meminfo [Active(file)]
Xmx = 4GB
segment cache (256MB)
deduplication caches (200MB)
template cache (64MB)
link checker (72MB)
sling discovery (42MB)
datastore cache (36MB)
lucene (23MB)
sling servlet resolver (3MB)
replication (3MB)
felix service registry (2MB)
It depends!
Heap
Page cache
slides and goodies available at