Best Way to Create Infinite Loops?

quietwatcher

Client
Регистрация
26.12.2016
Сообщения
3
Благодарностей
0
Баллы
1
Hello,

I have a project that needs infinite loop to process faster. I can run that project infinite time through Zennoposter but it takes time in posting that way i.e it takes time in restarting project.

The problem in infinite loops is that it hogging memory more than 1GB and 90% Cpu sometime.

What is the best possible way to do that so less delay and optimal resource usage.
 

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 272
Благодарностей
5 856
Баллы
113
You should restart instance within every 10-20 loops to avoid problems with resources usage.
Restart_instance.png
 

quietwatcher

Client
Регистрация
26.12.2016
Сообщения
3
Благодарностей
0
Баллы
1
thanks for the response
 

LightWood

Moderator
Регистрация
04.11.2010
Сообщения
2 382
Благодарностей
915
Баллы
113

LightWood

Moderator
Регистрация
04.11.2010
Сообщения
2 382
Благодарностей
915
Баллы
113

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)