Page 1 of 1

Worker vs. Server heap

Posted: Mon Feb 18, 2019 9:23 pm
by hewills
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, 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.


Re: Worker vs. Server heap

Posted: Thu Feb 21, 2019 3:42 pm
by imriskal
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.