Worker vs. Server heap

I’m currently upgrading our CloverDX server to 5.1, and setting up heap size for the Worker. The recommendations within the docs were very helpful. But I want to be sure I understand the Worker/Server Core setup correctly.

I setup min/max heap size on Catalina OPTS in setenv.sh, to limit the Server Core heap. Is this right? Then set the Worker heap size within the server’s Configuration GUI.
Based on the monitoring status, it appears okay, but I’m worried that setting the catalina_opts limit will also limit the Worker.

Thanks

You are absolutely correct. Users are supposed to set the heap limit for the Server Core in the setenv script and the heap limit for the Server Worker in the Server GUI > Configuration > Worker.

The heap configuation in the setenv script does not affect the Worker as it runs in a separate JVM.