HP XP P9000 Performance Advisor Software v5.5 User Guide (T1789-96337, Februrary 2013)

3. If you type y at the prompt, you are further prompted to provide the minimum and maximum
java heap size values.
The minimum heap size value must be more than or equal to 512 MB, and the maximum heap
size value must be less than or equal to 2048 MB. If heap size values are already set, the
current minimum and maximum heap size values are also displayed for your reference.
If you type n at the prompt, the command prompt window closes.
4. Enter the minimum and maximum java heap size values that are appropriate to your current
setup.
The Resize Heap tool stops the HP XP P9000 Performance Advisor Tomcat service to apply the
configured java heap size values. The service is automatically restarted once the new values are
set.
Setting the heap size values for Windows and Unix host agents
By default, the heap size value is set to Xmx1024M on a Windows or UNIX host agent. Xmx1024M
is also the maximum heap size value recommended by HP, if you are monitoring the performance
of XP and P9000 disk arrays with large number of LDEVs (64K binary (65,536)). However, increase
or decrease the heap size value based on the maximum heap size that your system supports. For
more information, refer to your operating system guide to know the maximum configurable heap
size value.
To modify the heap size value on a UNIX host agent:
1. In the command prompt window, type cd /opt/xppa/hostagent/sbin.
2. At the prompt that appears, type ./ResizeHeapHANonWindows.sh to run the shell script
resizeheap.sh that enables you to set the heap size values.
3. Follows steps 3 & 4 given for configuring java heap size values on a management station.
For more information, see For the management station.
To modify the heap size value on a Windows host agent:
1. Go to the <Installation folder>\xppa\hostagent\JavaHeapSize folder and
double click ResizeHeapHAWindows.bat. By default, <Installation Folder> refers
to C:\Program Files\Hewlett-Packard.
2. Follows step 2 onwards given for configuring java heap size values on a management station.
For more information, see For the management station.
The Resize Heap tool stops the Windows Host Agent services to apply the configured java heap
size values. The service is automatically restarted once the new values are set.
The HP XP P9000 Performance Advisor tomcat/Host Agent services does not start if there is not
enough memory available in the system and the following message appears.
The user must run the Resize Heap tool again and reset the value to a lower size.
Collecting performance data 71