i have written a small Server program to manage Clients ... and each time a client connects a new class is instantiated.....i want to know ho many instance of a class can a single runtime can handel ..... will the use of threads help ..... i've also heard that a run time can only handle a few hundred threads at a time.... is there a principle to handle a few hundred clients without causing much drain on the system.. thanks a lot, Regards Merwin
[ February 16, 2005: Message edited by: merwin pinto ]
[ February 16, 2005: Message edited by: merwin pinto ] [ February 16, 2005: Message edited by: merwin pinto ]
kri shan
Ranch Hand
Joined: Apr 08, 2004
Posts: 1300
posted
0
JVM can not handle more than 900 Threads
merwin pinto
Ranch Hand
Joined: Feb 16, 2005
Posts: 39
posted
0
Originally posted by kri shan: JVM can not handle more than 900 Threads
Hi Kri,... thanks a lot for the answer .... i had another question ... is it safe to instantiate a simple class instead of using a thread can the jvm handel this ... will it be too much of a load on the JVM