7.11.1 Checking whether the application is effective
You can determine whether the application of the memory saving functionality of the Explicit heap, which is used in an HTTP session, is effective by checking the Explicit memory block information included in the thread dump. The functionality is effective in the case of multiple Explicit memory blocks meeting the conditions described below. Therefore, review use of the functionality.
-
EM_TYPE in Explicit memory block information is "R".
-
EM_USED contains many Explicit memory blocks of the size smaller than those described below.
- If you are using the automatic placement functionality in the Explicit Memory Management functionality
-
8 KB
- If you are not using the automatic placement functionality in the Explicit Memory Management functionality
-
32 KB
For output contents of the Explicit memory block information in the thread dump, see 5.5 JavaVM Thread Dump in the uCosminexus Application Server Maintenance and Migration Guide.
Estimation of the memory size of the Explicit heap area by using statistics, does not vary depending on whether this functionality is used. For details on how to estimate the memory size, see 7.11.4 How to estimate using statistical information in the uCosminexus Application Server System Design Guide.
However, output contents of the statistics file partly differ. For details on the differences, see 7.11.3 Points to be considered when using the memory saving functionality of the Explicit heap that is used in an HTTP session.