C3d set resource limits?

Hi all,

I am running Convert3D from command-line and want to restrict the resources consumed by the process. I am running -rf-train and it keeps maxing out my cpu and memory. Are there any ways to set limits? I didn’t find anything in the c3d documentation.

The command I am currently running (using c4d for tiling):

c4d -verbose /training/data/*.nii.gz -tile w -popas ALLMRI /training/label/*.nii.gz -tile w -popas ALLSEG -rf-param-patch 2x2x2x0 -push ALLMRI -push ALLSEG -rf-param-treedepth 30 -rf-param-ntrees 50 -rf-train myforest.rf

Thank you,