Re: Available memory and limit on thread creation
From: Joseph Dionne (jdionne_at_hotmail.com)
Date: 07/02/04
- Next message: Kishor Babu: "Freelance jobs"
- Previous message: wgan: "How can I control date type variable"
- In reply to: Liz: "Re: Available memory and limit on thread creation"
- Next in thread: Michael Borgwardt: "Re: Available memory and limit on thread creation"
- Reply: Michael Borgwardt: "Re: Available memory and limit on thread creation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 02 Jul 2004 01:57:02 GMT
Liz wrote:
> "Joseph Dionne" <jdionne@hotmail.com> wrote in message
> news:Y4%Ec.22090$bs4.12863@newsread3.news.atl.earthlink.net...
>
>>I am using Linux 2.4 with JVM 1.4.2_04. I have noticed a limit to the
>>number of threads that can be created. I tried many settings of "-Xmx"
>>and "-Xss" and the largest number of threads I can launch is 1015. So,
>>I have several questions.
>>
>>First, does available memory limit number of threads?
>
>
> Obviously.
>
>
>>Second, if available memory does limit the number of threads, is there a
>>rule of thumb on how to calculate that limit?
>>Finally, exactly what affect do "-Xmx" and "-Xss" have to the VM and do
>>they affect thread memory at all?
>>
>>thanks
>>Joseph
>>
>
>
>
Thank you Liz, as a c developer I know this is fact. As a decades long
UNIX programmer, knowing the function of swap space, which I have set
rather large, I can achieve a much better outcome. I dont want to
diminish java, but I can model a lot more threads, using pthreads in c,
than I can in java. I am looking for more detailed information because
quite frankly I prefer to work in java.
I have found that multiple JVMs running my test application reach a
similar limit, leading me to believe a any limit is biased by something
other than I am considering.
Joseph
- Next message: Kishor Babu: "Freelance jobs"
- Previous message: wgan: "How can I control date type variable"
- In reply to: Liz: "Re: Available memory and limit on thread creation"
- Next in thread: Michael Borgwardt: "Re: Available memory and limit on thread creation"
- Reply: Michael Borgwardt: "Re: Available memory and limit on thread creation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|