Hitachi

uCosminexus Application Server Maintenance and Migration Guide


9.17.5 Memory requirements

This function creates a new buffer and thread. If the function is enabled, this buffer and thread remain alive until JavaVM ends. Therefore, using this function consumes memory for the buffer and thread. The following shows the memory consumption.

First, the following shows the memory consumption of the buffer.

(Size of one log line = 4096 bytes) × (Number of lines stored in the buffer = 1024 lines) = 4 Mbytes

If the Explicit Memory Management functionality is used, the memory consumption is doubled to 8 Mbytes because a buffer for the event log of the Explicit Memory Management functionality is also created.

Next, the memory consumption of the thread is the value specified in the -Xss option. Similar to the memory consumption of the buffer, if the Explicit Memory Management functionality is used, the memory consumption doubles because a thread for the event log of the Explicit Memory Management functionality is also created.

Table 9‒24: Default values for -Xss for each platform

Platform

Default value for -Xss

Linux(EM64T)

1Mbyte

Windows

1Mbyte

AIX

1Mbyte