Thread Instances Freeze

busymofo

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

So when i run ZP using a template it starts to freeze and my CPU usage spikes up to 100% . All the instances freeze and this happens about 5 mins into having the project started.
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
What build do you use?
What are PC specs?
 

busymofo

Client
Регистрация
25.08.2012
Сообщения
26
Благодарностей
0
Баллы
0
i use the newest build 3.2 Ghz CPU (Intel Xeon E5-1650)
3072 MB DDR3 RAM . When I check resources the base.exe or FFinstance file just keeps on growing and growing using up a lot of memory
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
What build of ZP?
4.3.7.1?
 

busymofo

Client
Регистрация
25.08.2012
Сообщения
26
Благодарностей
0
Баллы
0
yes 4.3.7.1 and ZP standard
 

Hungry Bulldozer

Moderator
Регистрация
12.01.2011
Сообщения
3 441
Благодарностей
831
Баллы
113
I guess there is a loop inside it.
 

busymofo

Client
Регистрация
25.08.2012
Сообщения
26
Благодарностей
0
Баллы
0
a standard counter loop yes.
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
With each loop's iteration, project will use more memory.
Dont use loops where they can be replaced with iterations of template's executions.
It's better to run project 5 times instead of 1 time with 5 iterations with internal loop.
 

Hungry Bulldozer

Moderator
Регистрация
12.01.2011
Сообщения
3 441
Благодарностей
831
Баллы
113
how long does it take to complete one run? it should be clear that if there are plenty of text parsed to variables it is kept in RAM, so it keeps growing.
 

busymofo

Client
Регистрация
25.08.2012
Сообщения
26
Благодарностей
0
Баллы
0
the issue here is i dont want to keep logging into a site or else they'll give me a captcha. Anyway around this?
 

busymofo

Client
Регистрация
25.08.2012
Сообщения
26
Благодарностей
0
Баллы
0
well what i did with the original template was i split it up into two one to login and without deleting cookies the other template does what i needs to do but if i were to try to scale i would need to create a tempalte to clean cookies and do it with another account.
 

busymofo

Client
Регистрация
25.08.2012
Сообщения
26
Благодарностей
0
Баллы
0

Hungry Bulldozer

Moderator
Регистрация
12.01.2011
Сообщения
3 441
Благодарностей
831
Баллы
113

busymofo

Client
Регистрация
25.08.2012
Сообщения
26
Благодарностей
0
Баллы
0

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