Thread creation error : not enough storage.
Posted on 2003-11-27
I have an NT-service which contains a Tserversocket which opens a thread for each connection..
Problem: When reaching somewhere inbetween 1700 and 2000 threads, I get this error "Thread creation error: Not enough storage is available to process this command" and everything halts in the service ;-(
And yes I KNOW that there is plenty of RAM (4Gigabyte) and PLENTY disk space (24*80GB).
Is there some kind of setting I can set either in Delphi on compiler time, or in Windows ??
its run on a 4 cpu computer its coded in Delphi 7 and run under Windows 2000 advanced server btw.