Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how many instances can a runtime handle

 
merwin pinto
Ranch Hand
Posts: 39
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1453
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JVM can not handle more than 900 Threads
 
merwin pinto
Ranch Hand
Posts: 39
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic