These conversions are difficult to do in java, due to use of implicit parameters.
* Utils to analyze Java memory usage when running a job on the Alpine Server (locally).
*
Utils to analyze Java memory usage when running a job on the Alpine Server (locally).
This should be leveraged in the Runtime class of the operator to avoid memory issues.
Note: The java_max_memory_usage
parameter value can be configured by an admin in the "custom_operator" section of the alpine.conf.
If not specified or not in ]0,100[, a default value of 90 is used.
These conversions are difficult to do in java, due to use of implicit parameters. So we provide them here.