久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

升級 ColdFusion 使用的 JRE

Upgrading the JRE used by ColdFusion(升級 ColdFusion 使用的 JRE)
本文介紹了升級 ColdFusion 使用的 JRE的處理方法,對大家解決問題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

問題描述

我有一個 ColdFusion 8.1 應(yīng)用程序.它被大量使用,我看到 jrun.exe 在任務(wù)管理器中的內(nèi)存使用率很高.這是一個 32 位的 windows 2003 服務(wù)器.當(dāng) Jrun 解決內(nèi)存使用問題時,ColdFusion 將在某個時候停止響應(yīng).日志有點(diǎn)模糊,但我開始在 ColdFusion 日志中看到垃圾收集和堆錯誤.我假設(shè) JRE 內(nèi)存不足.

I have a ColdFusion 8.1 application. It gets heavy use and I see jrun.exe getting very high memory usage in the task manager. This is a 32-bit windows 2003 server. When Jrun gets around a gig of memory usage ColdFusion will stop responding at some point. The logs are a little vague, but I start to see garbage collection and heap errors in the ColdFusion log. I assume that the JRE is running out of memory.

我將最大 JVM 堆設(shè)置為 1.2gig.經(jīng)過一些試驗(yàn),這似乎是我可以分配的最大數(shù)量,并且 ColdFusion 仍然可以正常啟動.我意識到轉(zhuǎn)為 64 位可能會解決問題,但目前這不是一個選項(xiàng).

I have the max JVM heap set to 1.2gig. After some experimenting, this seemed to be the biggest amount I could allocate and still have ColdFusion start ok. I realize that going to 64-bit might solve the problem, but that is not an option at this time.

我正在考慮升級 JRE(它是 2008 年之前的 v6.x,雖然我不知道確切的版本.我正在使用 ColdFusion 8.1 附帶的 JRE.有人經(jīng)歷過這個嗎?我想只需安裝新的 JRE 并將 ColdFusion 指向 ColdFusion 服務(wù)器設(shè)置中的新 JRE 目錄即可.

I am considering upgrading the JRE (it is at v6.x dated pre-2008, though I don't know the exact version. I am using the JRE that came with ColdFusion 8.1. Has anyone gone through this? I assume it's just a matter of installing the new JRE and pointing ColdFusion to the new JRE directory in the ColdFusion server settings.

tia不要

推薦答案

非常很容易做到.

1) 下載 Java SE Development Kit 并像平常一樣安裝它.

1) download the Java SE Development Kit and install it like normal.

2) 在文本編輯器中打開 jmv.config for cf,位于 c:coldfusion8 untimein

2) open up the jmv.config for cf in a text editor, located in c:coldfusion8 untimein

3) 通過在行首添加 "#" 來注釋現(xiàn)有的 java.home 行,添加新的 java.home 下方的行指向您的 jvm 安裝.

3) comment out the existing java.home line with a by putting a "#" at the beginning of the line add a new java.home line below it pointing to your jvm installation.

例如,我的 java.home 和 jvm.config 如下所示:java.home=C:/Program Files/Java/jdk1.6.0_11/jre

As an example, my java.home and jvm.config look like this: java.home=C:/Program Files/Java/jdk1.6.0_11/jre

4) 重啟 CF 服務(wù).

4) restart the CF services.

作為獎勵,您可以運(yùn)行 JavaRa 并釋放一些通過刪除所有舊版本的 JRE 來騰出空間.

As a bonus, you can running JavaRa and free up some space by deleting all the old versions of the JRE.

這篇關(guān)于升級 ColdFusion 使用的 JRE的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!

相關(guān)文檔推薦

How to wrap text around components in a JTextPane?(如何在 JTextPane 中的組件周圍環(huán)繞文本?)
MyBatis, how to get the auto generated key of an insert? [MySql](MyBatis,如何獲取插入的自動生成密鑰?[MySql])
Inserting to Oracle Nested Table in Java(在 Java 中插入 Oracle 嵌套表)
Java: How to insert CLOB into oracle database(Java:如何將 CLOB 插入 oracle 數(shù)據(jù)庫)
Why does Spring-data-jdbc not save my Car object?(為什么 Spring-data-jdbc 不保存我的 Car 對象?)
Use threading to process file chunk by chunk(使用線程逐塊處理文件)
主站蜘蛛池模板: 一级黄在线观看 | 欧美不卡一区二区 | h片在线看| 国产日韩视频 | 久久国产精品视频 | 国产在线一区二区三区 | 日韩免费在线 | 亚洲精品久久久久久久久久久 | 国产视频中文字幕 | 久久久网 | 综合九九| 成人精品一区二区三区四区 | 国产日韩欧美精品一区二区 | 久久精品一区二区三区四区 | 成人免费精品 | 欧美久久久久久 | 真人一级毛片 | 超碰最新在线 | 最新国产精品 | 国产乱码精品一品二品 | 欧美一级免费看 | 久久人人国产 | 国产一级成人 | 高清视频一区二区三区 | 亚洲97| 久久人人网 | 精品一区二区三区91 | www日韩欧美 | 羞羞在线观看视频 | 免费观看av网站 | 尤物视频在线免费观看 | 日韩精品成人免费观看视频 | 欧美精品久久久久 | 在线免费观看欧美 | 欧美成人h版在线观看 | 国产精品日韩欧美一区二区三区 | 久久综合亚洲 | 精品蜜桃一区二区三区 | 国产成人网| 欧美日韩中文字幕在线 | 国产精品大全 |