Search the Community
Showing results for tags 'threads'.
Hi, I'm having trouble with my isapi application that is going down when total/active threads reaches it's max like the attached image. What does make it go high and freeze application? Is there any documentation how to configure the ThreadPoolSize? All the components that I'm using in the project; - ADOComponents - SQL Server 2005/2008 (depends the customer) - Report Tools QuickReport 5.05.1 and Rave Reports 10.0 - TClientDataSet
I have the following code that is supposed to update a progressbar while emailing (pbWaiting updating works):- ... if Assigned(job) then begin if not (job.Finished or job.Terminated) then begin job.Terminate; end; job.Free; end; // job:= TJobThread.Create; job.FreeOnTerminate:= False; pbWaiting.Position:= 4; job.Execute; ON EXECUTION WE NEVER PROGRESS TO THE NEXT LINE (SendMail) ? // UniMainModule.SendMail(LoginForm.edtEmail.Text, LoginForm.edtPassword.Text, edtFirstName.Text, edtLastName.Text, edtPhone.Text); // job.JobCounter:= 100; job.Term