Support > Forums > OpenBots Studio > system memory exception

system memory exception

Umaema Ashraf

  • Reporter
  • Calender Icon December 20,2022 at 8:40 PM

Hello, I am currently trying to run an automation, and it works fine, but after about 250-300 loops the engine will throw an error "Error: Insufficient memory to continue execution of the program." What is the best way I can solve, or mitigate this?

This forum has 317 topics, 687 replies, and was last updated 4 months ago by Nataly Alvarado...

Nataly Alvarado...

  • Participant
  • Calender Icon December 21,2022 at 11:14 PM

Hi umaema.a,

​Thanks for submitting your support query. ​ Please share the Studio/Agent version used for the automation.

In order to prevent memory exhaustion, we recommend to break up the automation into smaller automation runs. For example, you can add logic to process your items in batches of a set amount. Once the number of loops set is reached, and if more items remain, trigger another job. Jobs can be triggered through the Run Schedule Now command, or by triggering a Queue Arrival schedule.

Please let me know if you have any remaining questions.

You are not authorized to reply, please click here to login and add your reply to this topic.