Managing Resource Usage with RT

Discuss RoboTask here
Post Reply
Evangelin
Posts: 2
Joined: Thu Feb 27, 2025 9:45 am

Managing Resource Usage with RT

Post by Evangelin »

Hi everyone,

I hope you're all doing well! I’ve been using Robotask for a while now to automate various processes, and I’ve encountered a challenge that I’m hoping to get some insights on.

Recently, I noticed that one of the tasks I've set up tends to consume a significant amount of CPU and memory resources when it runs, especially during peak times. This has led to some performance issues on my machine, causing other important applications to slow down or even become unresponsive.

I’m wondering if there’s a way to configure Robotask to automatically monitor the resource usage of this specific process. Ideally, I’d like to set a threshold for CPU and memory consumption, and if the process exceeds that threshold, I would like RT to automatically restart it. This could help maintain system performance without requiring constant manual intervention.

Has anyone implemented a similar solution or know if RT has built-in features that allow for this kind of resource management? Any tips or suggestions on how to approach this would be greatly appreciated!

Thank you! :idea:
felixandrea
Posts: 2
Joined: Mon Aug 17, 2026 4:18 am

Re: Managing Resource Usage with RT

Post by felixandrea »

I’d approach this by having RoboTask periodically check the target process’s CPU and memory usage, then trigger an action if either value stays above your chosen threshold for a while. You could use a script or an external monitoring utility to collect the process statistics and let RoboTask handle the restart.

I’d also add a delay and a maximum restart count to avoid getting stuck in a loop if the process keeps consuming too many resources. Before restarting it, make sure any important work or data can be saved safely. Has anyone found a way to read per-process CPU and memory usage directly in RoboTask without relying on an external tool?heardle
Post Reply