Highlighted

Memory Management

New Here ,
Nov 24, 2014

Copy link to clipboard

Copied

Good Morning,

I have a server in coldfusion 10 with 32 gigabytes of memory, but noted with great concern that the server lives by consuming whole untapped processor memory, how I can optimize this from the administrator?

Thank you.

Most Valuable Participant
Correct answer by Carl_Von_Stetten | Most Valuable Participant

I've never worked with Linux, so I can't speak to the nuances of running CF on it.  Is that a 32-bit or 64-bit OS?

The JVM settings indicate ColdFusion can only be using a maximum of 2GB of heap space, nowhere near the 32GB you have on the server.  If you are running a 64-bit OS and have installed the 64-bit version of CF 10, you can definitely increase the JVM heap size as needed to accommodate your application.  You should also update ColdFusion 10 to the latest update (Update 14) to add support for Java 1.7 & 1.8 (technically Java 1.7 was supported by an earlier update, but 1.8 support was added by Update 14).  Then you can take advantage of newer Garbage Collection methods and don't have to worry about some of the other JVM memory tweaks (which were deprecated in 1.7 or 1.8).

Only you can determine what the optimum settings are for your application.  JVM tuning is a complex topic that many consider to be a "dark art".  There are a few ColdFusion JVM tuning experts out there, and maybe one of them will chime in if you ask specific questions.

-Carl V.

Views

1.2K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Memory Management

New Here ,
Nov 24, 2014

Copy link to clipboard

Copied

Good Morning,

I have a server in coldfusion 10 with 32 gigabytes of memory, but noted with great concern that the server lives by consuming whole untapped processor memory, how I can optimize this from the administrator?

Thank you.

Most Valuable Participant
Correct answer by Carl_Von_Stetten | Most Valuable Participant

I've never worked with Linux, so I can't speak to the nuances of running CF on it.  Is that a 32-bit or 64-bit OS?

The JVM settings indicate ColdFusion can only be using a maximum of 2GB of heap space, nowhere near the 32GB you have on the server.  If you are running a 64-bit OS and have installed the 64-bit version of CF 10, you can definitely increase the JVM heap size as needed to accommodate your application.  You should also update ColdFusion 10 to the latest update (Update 14) to add support for Java 1.7 & 1.8 (technically Java 1.7 was supported by an earlier update, but 1.8 support was added by Update 14).  Then you can take advantage of newer Garbage Collection methods and don't have to worry about some of the other JVM memory tweaks (which were deprecated in 1.7 or 1.8).

Only you can determine what the optimum settings are for your application.  JVM tuning is a complex topic that many consider to be a "dark art".  There are a few ColdFusion JVM tuning experts out there, and maybe one of them will chime in if you ask specific questions.

-Carl V.

Views

1.2K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Nov 24, 2014 0
Most Valuable Participant ,
Nov 24, 2014

Copy link to clipboard

Copied

Which JVM are you using (1.6, 1.7, or 1.8)?  And what are your settings for JVM minimum and maximum heap size?  Is this a physical server or virtual server?  What OS are you running?

Please provide more information so we can try to offer practical assistance.

-Carl V.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 24, 2014 0
New Here ,
Nov 24, 2014

Copy link to clipboard

Copied

Thanks for the help.

The OS is Redhat 6.2 Linux.

The default installation is currently with the parameters generated by the application.

Java Version is 1.6.0_29 - Java VM Version 20.4-b02.      

This facility is located on a physical machine.

I remain attentive to any other concerns. Thanks for any advice or support about

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 24, 2014 0
Most Valuable Participant ,
Nov 24, 2014

Copy link to clipboard

Copied

I've never worked with Linux, so I can't speak to the nuances of running CF on it.  Is that a 32-bit or 64-bit OS?

The JVM settings indicate ColdFusion can only be using a maximum of 2GB of heap space, nowhere near the 32GB you have on the server.  If you are running a 64-bit OS and have installed the 64-bit version of CF 10, you can definitely increase the JVM heap size as needed to accommodate your application.  You should also update ColdFusion 10 to the latest update (Update 14) to add support for Java 1.7 & 1.8 (technically Java 1.7 was supported by an earlier update, but 1.8 support was added by Update 14).  Then you can take advantage of newer Garbage Collection methods and don't have to worry about some of the other JVM memory tweaks (which were deprecated in 1.7 or 1.8).

Only you can determine what the optimum settings are for your application.  JVM tuning is a complex topic that many consider to be a "dark art".  There are a few ColdFusion JVM tuning experts out there, and maybe one of them will chime in if you ask specific questions.

-Carl V.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 24, 2014 0
New Here ,
Nov 24, 2014

Copy link to clipboard

Copied

Thank you very much, now the application corresponds to the 64-bit version, coldfusion ColdFusion is updated 10 Update 14. To enlarge the margins of tolerance must keep some margin or can expand to 32 GB.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 24, 2014 0