Why and when to perform this task
The LE Heap is an area of storage management to be concerned with. For servers, IBM has compiled default values for HEAP and HEAPPOOL into the server main programs. These are good starting points for simple applications. To fine tune the LE Heap settings, use the following procedure:Steps for this task
SET LEPARM='RPTOPTS(ON),RPTSTG(ON)'Results appear in servant joblog.
VARY WLM,APPLENV=xxxx,QUIESCEThe following example shows the servant SYSPRINT DD output from the RPTSTG(ON) option.
Example:
. . . 0 HEAP statistics: Initial size: 83886080 Increment size: 5242880 Total heap storage used (sugg. initial size): 184809328 Successful Get Heap requests: 426551 Successful Free Heap requests: 424262 Number of segments allocated: 1 Number of segments freed: 0 . . . Suggested Percentages for current Cell Sizes: HEAPP(ON,8,6,16,4,80,42,808,45,960,5,2048,20) Suggested Cell Sizes: HEAPP(ON,32,,80,,192,,520,,1232,,2048,) . . .
SET LEPARM='RPTOPTS(ON),RPTSTG(ON,32,,80,,192,,520,,1232,,2048,)'The following example shows the servant joblog output from the RPTOPTS(ON),RPTSTG(ON,32,,80,,192,,520,,1232,,2048,) option.
Example:
. . 0 HEAP statistics: Initial size: 83886080 Increment size: 5242880 Total heap storage used (sugg. initial size): 195803218 Successful Get Heap requests: 426551 Successful Free Heap requests: 424262 Number of segments allocated: 1 Number of segments freed: 0 . . . Suggested Percentages for current Cell Sizes: HEAPP(ON,32,8,80,43,192,48,520,20,1232,5,2048,20) Suggested Cell Sizes: HEAPP(ON,32,,80,,192,,520,,1232,,2048,) . . .
SET LEPARM='RPTOPTS(ON),RPTSTG(ON,32,8,80,43,192,48,520,20,1232,5,2048,20)'The following example shows the servant joblog output from the RPTOPTS(ON),RPTSTG(ON,32,8,80,43,192,48,520,20,1232,5,2048,20) option.
Example:
. . 0 HEAP statistics: Initial size: 83886080 Increment size: 5242880 Total heap storage used (sugg. initial size): 198372130 Successful Get Heap requests: 426551 Successful Free Heap requests: 424262 Number of segments allocated: 1 Number of segments freed: 0 . . . Suggested Percentages for current Cell Sizes: HEAPP(ON,32,8,80,43,192,48,520,20,1232,5,2048,20) Suggested Cell Sizes: HEAPP(ON,32,,80,,192,,520,,1232,,2048,) . . .