From Memory leaks and heap dumps
A service with -Xmx4g is restarted by its orchestrator about every 30 hours with OutOfMemoryError: Java heap space. After the heap was raised to 8 GB the restarts come about every 60 hours. Traffic has the same daily shape every day. Heap after full collection is 1.1 GB an hour after start and grows by about 130 MB per hour.
What is the right next step?