Run a task only when free RAM is above threshold

For memory-constrained Server installations, you may want to run certain tasks only when there is enough memory available, i.e. when the free memory is above a certain threshold. The threshold can depend on the task.

Here is a small project that performs free memory check prior to running a workflow. If not enough memory, the main workflow is skipped. The table/module is easy to copy from project to project.

free-memory-checker.morph (3.1 KB)