Re: Max number of threads that can be used?



Sonny wrote:

I don't know how to debug this kind of error. What would you suggest/
recommend?

It may be that you are running out of virtual address space. If so:
- changing the stack size of the thread will decrease the used address space
- switch to 64 bit OS
- Change the architecture of your program

How do you handle data base connections? Does every thread create a own connection? If so:
- Use a connection pool with a reasonable, limited amount of connections

Maybe you got a helpful error code from a called function, but you ignored it?

best regards
Torsten


.



Relevant Pages

  • Re: scavenging opto-isolators
    ... you mention are two values of resistor. ... The "0" you noticed for jumper ... Black bodies with more than two connections (two on one side, ... When referring to pin function on a switch, ...
    (sci.electronics.misc)
  • Re: PC takes 40 attempts to start ????
    ... cold metal contracts and connections are poor. ... (Takes a lot of pushing in to eventually catch the power to turn on. ... Incidentally, if it is the 2 dollar switch, then one can ... Available Physical Memory 320.47 MB ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: On network (and otherwise) cabling a house...
    ... and also allow for landline phone connections ... to be carried on cat5e). ... you could even have a small low voltage cable to a switch and back. ... maybe plug some of the incoming cat5e cables into the ...
    (comp.sys.acorn.networking)
  • Re: Help needed connecting switch to network
    ... wired and wireless connections. ... the Netgear unit depending on the location I need to connect from. ... switch then the switch into the Netgear unit. ... You plug the switch into a LAN port on the router, with no cross over cable, just a plain cable like you use to connect a wire computer to a LAN port on the router. ...
    (alt.internet.wireless)
  • RE: SUMMARY:RE: TCP_keepalive
    ... of short and unreliable connections). ... creating a TCP socket. ... printf "Decrease the tcp time wait interval\n" ...
    (SunManagers)