java - Upgrading the JRE used by ColdFusion -


I have a ColdFusion 8.1 application. It gets huge usage and I think jrun.exe Task Manager is using a lot of memory. ColdFusion will stop responding at some point when it is around 32-bit Windows Server 2003 when a gig of Junk Memory uses. The logs are a bit unclear, but I am starting to see the collection of trash and heap errors in the coldfusion log. I think JRE is running out of memory.

I have the maximum JVM heap set at 1.2 Gig. After some experimentation, it was the largest amount I could allocate and still coldfusion starts right. I know that going to 64-bit can solve the problem, but this is not an option at this time.

I am JRE (this is pre-2008 date v6.x, do not know the exact version. I am using JRE which came with ColdFusion 8.1. Was it run by someone? I think this is about setting up a new JRE and pointing to new JRARDE in ColdFusion server settings.

tia don

It's easy to do excessive .

1) Download and normalize it To be installed.

2) Open jmv.config in CS for a text editor, which is the c: \ coldfusion8 \ runtime \ bin

3) At the beginning of the java.home line "#" / Strong> line a new java.home line up your JVC installation Point to.

As an example, my Java .Home and j Vm.config looks like this: java.home = C: / program files / java / jdk1.6.0_11 / jr

4) Restart CF services.

As a bonus, you can run some space by releasing all the earlier versions of JRE and you can free it.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -