aspose file tools*
The moose likes Sockets and Internet Protocols and the fly likes how many instances can a runtime handle Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "how many instances can a runtime handle" Watch "how many instances can a runtime handle" New topic
Author

how many instances can a runtime handle

merwin pinto
Ranch Hand

Joined: Feb 16, 2005
Posts: 39
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: 1367
JVM can not handle more than 900 Threads
merwin pinto
Ranch Hand

Joined: Feb 16, 2005
Posts: 39
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how many instances can a runtime handle
 
Similar Threads
trouble understanding HF pg 99
help me,thank u
How many instance of a class can a single runtime can handle
help me,thank u
Limitations Of Threads