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

升級 ColdFusion 使用的 JRE

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

問題描述

我有一個 ColdFusion 8.1 應用程序.它被大量使用,我看到 jrun.exe 在任務管理器中的內(nèi)存使用率很高.這是一個 32 位的 windows 2003 服務器.當 Jrun 解決內(nèi)存使用問題時,ColdFusion 將在某個時候停止響應.日志有點模糊,但我開始在 ColdFusion 日志中看到垃圾收集和堆錯誤.我假設 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 堆設置為 1.2gig.經(jīng)過一些試驗,這似乎是我可以分配的最大數(shù)量,并且 ColdFusion 仍然可以正常啟動.我意識到轉為 64 位可能會解決問題,但目前這不是一個選項.

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 服務器設置中的新 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 服務.

4) restart the CF services.

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

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

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

【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權益,請聯(liá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(使用線程逐塊處理文件)
主站蜘蛛池模板: 亚洲超碰在线 | 影音先锋在线视频 | 手机在线看片1024 | 久久久久九九九 | 国产精品久久久国产盗摄 | www.欧美精品| 欧美激情一区二区 | 久久久久成人网 | 偷拍一区二区三区 | 99在线免费视频 | 中国一级黄色 | 精品国产99久久久久久宅男i | 国产一区二区三区在线 | 免费毛片网 | 91视频一区二区三区 | 波多野结衣一区二区三区在线观看 | 在线日韩欧美 | 亚洲国产三级 | 成人深夜福利 | 中文字幕免费av | 国产精品成人一区 | 亚洲免费精品视频 | 狠狠操综合 | 免费看成人片 | 亚洲国产成人精品女人 | 51成人网 | 久久性生活视频 | 麻豆成人91精品二区三区 | 亚洲一区高清 | 日韩不卡av| 午夜视频一区二区 | 91色网站 | 午夜影院在线 | 国产精品自拍第一页 | 亚洲视频一区二区三区四区 | 日本一区二区不卡 | 四虎影院网站 | 亚洲欧美日韩精品 | 日本不卡视频 | 亚洲第十页 | 22精品一区二区三区 |