Solved

Max Process size?

Posted on 2000-03-01
3
225 Views
Last Modified: 2013-12-26
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!
0
Comment
Question by:hey_hey
  • 2
3 Comments
 

Accepted Solution

by:
time4tea earned 35 total points
ID: 2573675
You are asking the wrong question...

The amount of virtual memory allowed, is different from the maximum process size, which (AFAIK) is 2Gb on all of the platforms you mention. ( for 32bit OS's ) Certainly is for Solaris 2.5

Even having said this, you will need to do some jiggery pokery with java to get it use this much memory ( may not be possible )...

The amount of memory has only a scant relation to the number of threads you can run - depends how much mem each thread takes up!

4096 threads sounds rather excessive anyhow, you may find that the thread scheduler begins to die under its own weight at this number .....

0
 

Author Comment

by:hey_hey
ID: 2575540
Adjusted points to 35
0
 

Author Comment

by:hey_hey
ID: 2575541
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
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
paragon account problem 9 96
ORA-01403: no data found 43 83
fizzArray  challenge 1 47
wordmultiple challenge 12 90
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now