Skip to main content
Inspiring
May 11, 2011
Question

ColdFusion 9 memory question

  • May 11, 2011
  • 3 replies
  • 2758 views

HI All-

Sorry for the newbie admin question:

I  just got a brand new Windows Server 2008 R2 Standard server (Intel Xeon  2.13ghz) server with 8 GB RAM. CF 9 64 bit is installed with IIS 7.5,  MySQL (also 64 bit).

How much RAM will the Java HotSpot server that ColdFusion installed be able to use? (I verified that it's the 64 bit version).

I've  read some articles about how I shouldn't automatically just increase  memory allocation, is there a basic rule to apply RAM for system use? Any articles on exactly how to do this?

Again, my apologies for the beginner questions.

Thanks in advance,

Rich

    This topic has been closed for replies.

    3 replies

    Inspiring
    May 12, 2011

    Thanks!

    Rich

    Legend
    May 11, 2011

    Hi Rich,

    Perhaps you might get some useful information on memory configuration out of this talk I did at CFMEETUP:

    http://experts.adobeconnect.com/p55663036

    HTH, Carl.

    Inspiring
    May 11, 2011

    While there is effectivly no limit to the memory you can allocate to the JVM on a 64bit machine (up to the actual amount of physical memory) you probably shouldn't go beyond 50% on a dedicated server, especially one that is running Windows. Remember that the OS and the rest of the system need memory as well. I run dedicated Windows CF9 servers with 8GB installed ram with4GB for the CF JVM and they run very well. BUT that is a dedicated CF server NOT running MySQL.

    Depending on the load and the type of application, you could also hit a point of diminishing returns if too much memory is allocated. Sometimes, the overhead of recordkeeping on all the memory is wastful if it isn't actually getting used.

    Check out this article on 64 CF. Its for CF8 but all the principles still apply:

    http://www.adobe.com/devnet/coldfusion/articles/64_bit.html


    Depending on your application, load, and size of the database, things will get complicated running MySQL on the same box. Of course if its a database

    of a few thousand rows it shouldn't be a problem. If you have a database in the gigabytes and depending on your database engines (InnoDB vs MyISAM)

    you can run into some serious performance bottlenecks as the database, cf, and the os all compete for resources.