expose setProcessLimits function