Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / July 2007

Tip: Looking for answers? Try searching our database.

How many threads can be made in an Applet

Thread view: 
Sanny - 21 Jul 2007 07:29 GMT
I want to create as many Threads as possible but I want to know is
there any limit to Maximum number of threads possible.

Say a system has 512 MB RAM.

Each thread is taking 10 KB

Can I create 512000/10 = 51200 Threads on that Machine utilizing all
RAM.

And if the Threads are at Sleep() can I increase the number till the
Active threads take up 512 MB RAM.

And say a Computer is 2.0 Ghz

My thread takes 10 CPU Cycles So I can make 2* 10^8 Threads Max.

Is there any other restriction other than Memory and Ghz?

Bye
Sanny
Andrew Thompson - 21 Jul 2007 09:03 GMT
>I want to create as many Threads as possible ..

Why?  

Try and answer that question as the end to the sentence.
"I want to offer the end user.."

Signature

Andrew Thompson
http://www.athompson.info/andrew/



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.