Can I Adjust Memory or Time Requirements for Specific Processes to Prevent Workflow Breakdowns Without Wasting Resources?

This topic was automatically generated from Slack. You can find the original thread here.

Is it possible to tweak these values based on whatever…

For example, if I know a certain process will use more memory or need more time, can I change these values for that run?

I’m asking because about 5% of the time, the WF breaks due to memory limit, setting up more memory means 95% of the time, I am burning credits that are not needed.

image.png

Hi you can freely adjust the settings there, those settings just adjust your limit. You’ll be only charged credit for the resources and time that your workflow run

Hi Leo,

When I increase the memory to 512mb, are you saying I wont be charged 2 credits for each run.

Based on past experience, that’s what happens.

And meanwhile, the WF used less than 256mb 95% of the time, so I should be getting charged 1 credit….

Hence, I am just asking to confirm there is no way to programmatically adjust that limit.

Oh sorry, I think for the memory, it will be that way (and currently there’s no way to automatically set it dynamically). It is only for the timeout that it is not affecting.

One way I can think of is you can split your workflow into 2 versions

The first version to process the big content, the second version to process the small ones. Then having a workflow to proxy the event to the approriate workflow

Noted on the timeout, good to know.

Thanks for the splitting suggestion also…