4 Replies Latest reply on Nov 24, 2014 11:31 AM by Jose Valera

    Memory Management

    Jose Valera

      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.

        • 1. Re: Memory Management
          Carl Von Stetten Adobe Community Professional & MVP

          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.

          • 2. Re: Memory Management
            Jose Valera Level 1

            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

            • 3. Re: Memory Management
              Carl Von Stetten Adobe Community Professional & MVP

              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.

              • 4. Re: Memory Management
                Jose Valera Level 1

                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.