Solved

Max Process size?

Posted on 2000-03-01
3
238 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Separate files macro - Errors on larger data set 18 77
Modbus - whats the maximum I can store in one register? 4 85
wordappend challenge 8 252
Problem to open Excel file 15 266
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
In this post we will learn different types of Android Layout and some basics of an Android App.
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.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

752 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