Below are the steps to change Heap size :
1 ) Verify that all users have logged out of ALM projects, and stop the ALM Service as follows: In the system tray, right click the ALM icon and choose Stop Application Lifecycle Management.
2 ) In the ALM deployment path, open the wrapper.conf file found in 'Wrapper' folder .
Default deployment path are as below: Win 2008 : C:ProgramDataHPALM
3 ) Change the wrapper.java.maxmemory value as necessary.
4 ) Restart the ALM Service as follows: In the system tray, right click the ALM icon and choose Start Application Lifecycle Management.
The maximum heap value cannot exceed your maximum memory (RAM) size.
On a machine running on a 32-bit operating system, the heap memory size should not exceed