It is recommend that you create your loops so that they terminate (have a concluding condition) at some point. Infinite loops create batch event files (.EVT) that can become quite large and use a lot of disk space. In addition, a warm restart could cause the computer to take a long time to read a large event file and restore the batch to the batch list. Implement tasks that run for an infinite time with SFCs or other functions in a controller rather than in the Batch Executive.