As has been discussed before, when submitting a topology there are really two
processes that are started up, with one being the logwriter process and the
other being the worker process. When submitting our topology, we independently
set TOPOLOGY_WORKER_CHILDOPTS to "-Xmx64m" and
TOPOLOGY_WORKER_LOGWRITER_CHILDOPTS to "Xmx2g". When running ps -ef, the
logwriter process command displays "-Xmx64m" followed by "-Xmx2g". Why is this?
TOPOLOGY_WORKER_CHILDOPTS should be specific to the worker process and should
not have any effect on the logwriter process. Is this assumption correct? If
so, why does it appear that TOPOLOGY_WORKER_CHILDOPTS appears to be taking
precedence over TOPOLOGY_WORKER_LOGWRITER_CHILDOPTS for the logwriter process?