This message was deleted.
# ask-anything
s
This message was deleted.
๐Ÿ‘‹ 1
i
Does this happen with multiple tasks youโ€™re trying to parallelize or a single one? Ideally each module should have its own task, that way you can reuse it and enjoy the parallelization.
e
I think Jan wants to parallelize inside a task. I'm guessing you're using functions as tasks. By default, ploomber runs them in a subprocess to ensure memory is cleared up but you can change this setting: https://docs.ploomber.io/en/latest/api/_modules/executors/ploomber.executors.Serial.html#ploomber-executors-serial
Copy code
executor:
  dotted_path: ploomber.executors.Serial
  build_in_subprocess: false
๐ŸŽ‰ 1
j
Thanks! That did the trick :)
๐Ÿ™Œ 2