Question Memory consumption

My self hosted XWiki in a docker container runs stable over a couple of weeks now. But just a smaller question:
With 3 created wikis the docker process on server constantly consumes nearly 6 GB memory and there is not so much left for the other processes.
There are just a few documents and just 3 users working sporadically with the wikis.
Is this normal?
Is there a way to control it?
I use the standard settings for the Java heap (~ 1 GB I believe)

Hi. No it’s not normal, see https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Performances/#HMemory

Hi Thanks for the very quick answer and the link (I have found before).
Is there any strategy then to find out what’s wrong?

a ‘top’ inside the container shows:

top - 16:49:55 up 216 days, 19:21, 0 users, load average: 0.38, 0.29, 0.26
Tasks: 7 total, 1 running, 3 sleeping, 0 stopped, 3 zombie
%Cpu(s): 0.6 us, 1.1 sy, 0.0 ni, 98.3 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
MiB Mem : 8192.0 total, 3277.8 free, 4321.9 used, 592.3 buff/cache
MiB Swap: 0.0 total, 0.0 free, 0.0 used. 3583.6 avail Mem

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1 root 20 0 5172804 2.2g 0 S 1.0 27.8 277:08.53 java
104 root 20 0 0 0 0 Z 0.0 0.0 0:00.00 soffice.bin
115 root 20 0 0 0 0 Z 0.0 0.0 0:00.00 soffice.bin
129 root 20 0 0 0 0 Z 0.0 0.0 0:00.00 soffice.bin
130 root 20 0 624768 148 0 S 0.0 0.0 0:00.52 soffice.bin
14412 root 20 0 7228 3940 3356 S 0.0 0.0 0:00.12 bash
14427 root 20 0 9052 3440 2936 R 0.0 0.0 0:00.05 top

means the java process is using 5172804 and therefore 27.8% of memory.

You could try installing glowroot, see Monitoring (XWiki.org)