Please check the following property in Config class: https://storm.incubator.apache.org/apidocs/backtype/storm/Config.html#TOPOLOGY_WORKER_CHILDOPTS
Try to configure the above property during the time of topology submission (i.e. in the Config object passed to StormSubmitter). I think this property will be applicable for all workers spawned for a topology. Regards, Richards Peter.
