on 09-09-2008 9:47 AM
Hi,
I need to install the SAP WebAS Java on a new memory pool on iSeries.
SAP Note 717376 states following:
server processes:
initial heapsize (-Xms): 1024M
maximum heapsize (-Xmx): 4096M
dispatcher processes:
initial heapsize (-Xms): (64 * number of J2EE servers)M
maximum heapsize (-Xmx): 2048M (at least 4 * initial size)
bootstrap processes, SDM:
initial heapsize (-Xms): 64M (or don't set it at all)
maximum heapsize (-Xmx): 2048M (or same as Xmx of related Java process)
How do you calculate the size of the memory pool?
Is that the sum of every maximum heapsize?
Best regards,
Nicolas De Corte
Hi Nicolas,
with the Classic VM on IBM i this is not just a simple adding equation. Sure, to be on the safe side, it would be nice if you have a memory pool with the size of Xmx (Max Heap Size) of the server process(es), dispatcher and SDM.
However, in the daily use you have to see where the actual (average) heap consumption of the java processes lies. When you've found that out you can probably add the actual heap sizes of all the processes plus some safety factor of .5 or so.
It is important to watch out for paging in your Java system's memory pool. If paging occurs you'd better increase the pool.
Best regards
Christoph
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.