Re: Best way set max heap size via env variables or program arguments?

2020-01-02 Thread Li Peng
Awesome, thanks! On Wed, Jan 1, 2020 at 6:17 PM Xintong Song wrote: > Hi Li, > > Regarding your questions: > > 1. Is there actually a way to pass in the heap size via arguments to >> taskmanager.sh? Is passing -Dtaskmanager.heap.size supposed to work? > > > No, '-Dtaskmanager.heap.size' is not

Re: Best way set max heap size via env variables or program arguments?

2020-01-01 Thread Xintong Song
Hi Li, Regarding your questions: 1. Is there actually a way to pass in the heap size via arguments to > taskmanager.sh? Is passing -Dtaskmanager.heap.size supposed to work? No, '-Dtaskmanager.heap.size' is not supposed to work. The '-D' configurations are only parsed after the JVM is started,

Best way set max heap size via env variables or program arguments?

2019-12-31 Thread Li Peng
Hey folks, we've been running a k8 flink application, using the taskmanager.sh script and passing in the -Djobmanager.heap.size=9000m and -Dtaskmanager.heap.size=7000m as options to the script. I noticed from the logs, that the Maximum heap size logged completely ignores these arguments, and just