Worker vs. Server heap

Support questions related to CloverDXServer

hewills
Posts: 21
Joined: Tue Apr 18, 2017 4:18 pm
Location: CA

Worker vs. Server heap

Postby hewills » Mon Feb 18, 2019 9:23 pm

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

imriskal
Posts: 392
Joined: Wed Aug 15, 2012 8:18 am

Re: Worker vs. Server heap

Postby imriskal » Thu Feb 21, 2019 3:42 pm

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.
---
Lubos Imriska
CloverCARE Support
CloverDX

Visit us online at http://www.cloverdx.com