For Windows, you can increase the heap size by uninstalling/reinstalling the Quality Center Service and modifying the InstallJbossService.bat file. For Linux/Unix, you need to modify the run.sh file. Recommended heap sizes, depending on the number of concurrent user sessions: Notes: Uninstall/Reinstall QC Service for Windows: Note: Verify that users are not working on Quality Center and Quality Center Service is stopped. 1. Open Command Prompt and navigate to "<Drive Letter:>\program files\Mercury Interactive\Quality Center\jboss\bin" folder. Note: For Quality Center 9.0 and 9.2 the path is "<Drive Letter:>\program files\Mercury\Quality Center\jboss\bin" For Quality Center 10 the path is "<Drive Letter:>\program files\HP\Quality Center\jboss\bin InstallJbossService.bat -uninstall 3.Edit the InstallJbossService.bat file. Example: If the heap memory is currently: set JAVA_OPTS=%JAVA_OPTS% -Xms256m -Xmx512m increase the heap size as follows: set JAVA_OPTS=%JAVA_OPTS% -Xms512m -Xmx1024m 4. Save and close the InstallJbossService.bat. 5. Execute the following command (this will install the service with the modified heap size parameter): InstallJbossService.bat -c default (-help shows options) 6. Verify that the service has been installed, Control Panel -> Administrative Tools -> Services. 7. Start the Quality Center Service. 8. Check that the Quality Center Debug Console shows heap size that was specified as available memory: For Quality Center 9.0 and 9.2: http://hostname:8080/qcbin/servlet/tdservlet?method=debuginfo http://hostname:8080/sabin/servlet/tdsiteadminservlet?method=debuginfo For Quality Center 10: http://hostname:8080/qcbin/debug Name: DISABLE_CONSOLE_DEBUG_INFO Value: N Modify the run.bat file: 1. On the application server, locate the JBoss bin folder under your TD for QC installation. By default, the location is <System Drive:>\Program Files\Mercury Interactive\Quality Center\JBoss\bin. Note: For Quality Center 9.0 and 9.2 the path is <System Drive:>\Program Files\Mercury\Quality Center\JBoss\bin. For Quality Center 10 the path is <System Drive:>\Program Files\HP\Quality Center\JBoss\bin 2. Edit the run.bat file (or run.sh for Linux/Unix). Example: If the heap memory is currently: set JAVA_OPTS=%JAVA_OPTS% -Xms256m -Xmx512m increase the heap size as follows: set JAVA_OPTS=%JAVA_OPTS% -Xms512m -Xmx1024m 3. Save and close the run.bat. 4. Execute the run.sh file only for Linux/Unix. | |
Monday, August 22, 2011
Increasing the heap size (virtual memory) for JBoss
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment