Domino HTTPJVMMaxHeapSize

Rob Berendt <[email protected]>
Newsgroups gmane.comp.lang.as400.java
Message-ID <OF30F3364B.0ED0D1F2-ON85258343.00593FD2-85258343.005A42C8@corp.dekko.com>
I have a Java question about Domino.
I have a notes.ini setting which works differently on one lpar than on 
another.  I can understand the possibilities:  Memory differences, etc.
From the case:
<snip>
The default for os400 is 1G for all defaults so it is not clear on why we 
got a 256 meg setting, the only way that could happen is if 
HTTPJVMMaxHeapSize does not exist or cannot be found and the other JVM 
setting for the Agent manager is set JavaMaxHeapSize=256, then 
HTTPJVMMaxHeapSize will be set to the JavaMaxHeapSize.
This setting is not touched if it already exists, if the setting does not 
exist it will be initialized to something (either the default of 1 gig or 
if JavaMaxHeapSize.is present then the value specified by JavaMaxHeapSize.
With regard to the 4G setting failing, the reason for that is the JVM will 
try and allocate the heap (4g) at startup, if it cannot allocate that much 
memory then one will get a too large setting, the possibility is that the 
OS400 JVM may be limited to 2 gig heap, one could try and specify 2148M 
(instead of 2048) and see if that works, if that works then the issue will 
be the JVM could not allocate a 4G heap.
</snip>

Both lpars are IBM i 7.3 at same PTF levels.
Both are Power 9's.  One is on a 41A and the other is on a 42A.  The 42A 
works at 4G, the 41A only works at 2G.  Both lpars are setup for Domino. 
QCTLSBSD = QBASE. 

DSPSYSSTS

42A:
Sys      Pool   Reserved    Max  ------DB-------  ----Non-DB-----
Pool    Size M   Size M     Act  Faults    Pages  Faults    Pages
  1    2217.94   1148.35  +++++       .0      .0       .0      .0
  2   28467.86     12.14    393       .0      .0       .0     4.2
  3    1645.16       .00     82       .0      .0      2.4     2.6
  4      81.02       .00      5       .0      .0       .0      .0

41A:
System    Pool    Reserved    Max   -------DB-------  -----Non-DB-----
 Pool   Size (M)  Size (M)  Active  Faults     Pages  Faults     Pages
   1     8102.97   1184.71   +++++       .0       .0       .0       .0
   2    19086.12     16.43     373       .0       .0       .0       .0
   3     4898.78       .00     163       .0       .0      4.0      5.2
   4      324.11       .00       5       .0       .0       .0       .0

Is there some other Java setting I am missing?


Rob Berendt
-- 
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to:  2505 Dekko Drive
          Garrett, IN 46738
Ship to:  Dock 108
          6928N 400E
          Kendallville, IN 46755
http://www.dekko.com


-- 
This is the Java Programming on and around the IBM i (JAVA400-L) mailing list
To post a message email: JAVA400-L-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at https://archive.midrange.com/java400-l.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.