增加 JVM 資料堆大小上限

您可以增加 CM Server 的 JVM 資料堆大小上限。

屬於 CM Server 的 IBM® WebSphere® Application Server 安裝架構所使用的預設資料堆大小上限可能必須增加。您可以利用安裝所提供的公用程式,從指令行設定 JVM 資料堆大小。

您必須先在命令提示字元中將目錄導覽至 CM scripts 目錄(例如:在 Windows® 上為 C:\Program Files\IBM RationalSDLC\common\cm\scripts,在 UNIX® 系統上為 /opt/IBM/RationalSDLC/common/CM/scripts,在 Linux® 上為 /opt/ibm/RationalSDLC/common/CM/scripts)。 在下列指令中,%WAS_BIN% 是通往 eWAS\bin 目錄的路徑 (例如,C:\Program Files\IBM\RationalSDLC\common\eWAS\bin)。

下列指令(於 Windows 上)會顯示現行資料堆大小上限:
%WAS_BIN%\wsadmin.bat -profile teamAdminUtils.jacl -c "getJvmMaxHeapSize" 
下列指令(在 Windows 上)會將資料堆大小上限設定為 2048 MB:
%WAS_BIN%\wsadmin.bat -profile teamAdminUtils.jacl -c "setJvmMaxHeapSize 2048"
如果您有多個 WebSphere Application Server 設定檔,您可以修改範例以便也指定該設定檔。例如:
%WAS_BIN%\wsadmin.bat -profile -profileName cmprofile teamAdminUtils.jacl -c "getJvmMaxHeapSize"
%WAS_BIN%\wsadmin.bat -profile -profileName cmprofile teamAdminUtils.jacl -c "setJvmMaxHeapSize 2048"
您也可以對 UNIX 系統和 Linux 使用這些指令。例如:
$WAS_BIN/wsadmin.sh -profile -profileName cmprofile teamAdminUtils.jacl -c "getJvmMaxHeapSize" 
$WAS_BIN/wsadmin.sh -profile -profileName cmprofile teamAdminUtils.jacl -c "setJvmMaxHeapSize 2048"

您可能需要變更在 CM Server 上控制 CCRC 或 ClearQuest® Web 伺服器之非互動式資料堆大小的 Windows CM Server 登錄設定, 而非使用預設值。為了防止錯誤發生,您可增加非互動式桌面的資料堆大小。 同時,如果系統支援大量的 CM Server 使用者,則在 Windows 上,SessionViewSize 的預設登錄值必須增加。 如需增加非互動式桌面資料堆及 SessionViewSize 值的相關資訊,請參閱:http://www-01.ibm.com/support/docview.wss?uid=swg21142584


意見