Saturday, November 27, 2010

WAS questions

1) What is the Min and Maximum Heap Size ?
Ans: The default is 50 MB MIn and 256 MB Max

2) On what basis (min & Max) Heap Size is determined ?
Ans: This totally depends on the requirement of an application , If is a heavy application with many users , report generation etc then the heap should be more .

3) Is the Min & Max Heap Size is different in 32 bit and 64 bit Operating Systems ?
Ans:I am not sure of 64 bit but i guess it should be same .. can any one validate/confirm it

4) For a single JVM what is Max Heap Size ?
Ans:Not sure if IBM has set any max heap .. but i guess that would be dependent on the system memory available . if the system memory is avialiable then it can be increased

5) Scenario:

Physical Ram: 32 GB
A cell having 1 DMGR and 2 Federated Nodes and 2 Node agents, How can we determine how much we can set a Heap Size for these JVM's ?

For the dmgr : 512 MB to 1024 MB should be sufficient
Node agent : 512 MB should be sufficient
for the Appserver : Well that depends on the application requirement, but i have seen the max of 3 GB for a JVM and ig the performance degrades then analyse it and then increase it accordingly
NOTE: All the Heap allocation mentioned above are conditiions applied :-)


Hi,

Technically,we can set max 4 GB heap size for 32 bit JVM but there is no limit for 64 bit JVM.

Mximum size depends upon various factors like total memory size of server,operating syatem like window,linux,no of processes running on server etc.

In normal scenario,we dont go beyond 1 GB but if jvm does jobs like report generation then we can go up to 2 GB. 

No comments:

Post a Comment