Link to home
Start Free TrialLog in
Avatar of hey_hey
hey_hey

asked on

Max Process size?

Hi,

What is the maximum virtial memory allowed in

HP-Unix latest version
Solaris latest version
Linux latest version
AIX's latest version

is it 4GB? or have it incresed?

i want to use this in order to predict how many maximum threads run in 1 process of Java virtual machine.

If it's 4Gb then roughly 2048-4096 threads allowed.I don't knwo for any Unix as I workde in windows only

thank you!
ASKER CERTIFIED SOLUTION
Avatar of time4tea
time4tea

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of hey_hey
hey_hey

ASKER

Adjusted points to 35
Avatar of hey_hey

ASKER

pls reead ,write up on my question in windows ,Zoppo gave a very informative reply.

you are right in all u said.except
>>>>>The amount of memory has only a scant relation to the number of threads you can run.

In an articel I read that each thread in java has 1Mb VM space allocarted to it (the thread is the Java thread + underlying native thread of OS),since only 2GB allowed for user ,so 2048 threads allowed only max.

so we have to increase page file/swap file size plus increase RAM size to fill gaps.

the final thing is in a server applicayton the number of threads has to be limited,there should be a counter and in a thread pool.right ? that is what we think of now.

thanks ,have more 50 points only, will increase later