Skip to main content
April 27, 2009
Question

OS Settings for Maximum Heap for Coldfusion 8 Standard?

  • April 27, 2009
  • 1 reply
  • 923 views

I was wondering if anyone has been successful in getting more than 1.4 to 1.5 GB for the JVM heap in Coldfusion 8 in 32-bit mode, to which Standard Edition is restricted to.  I'm using Windows Server 2003 Standard Edition (32-bit I believe).  I hear a limit of 1.8 GB is possible in 32 bit but I'm uncertain how to obtain it.

I have upgraded the memory for the machine to 4GB.  Of that 3.75 GB is recognized by the OS.  Still, Coldfusion will not start with more than 1450 as the setting, which is the same as when the box had 2GB of memory.

I'm looking into using the /3GB switch in Boot.Ini (and maybe PAE switch if that fails) in the OS to make it "possible" if the process (ColdFusion/Java) is "compiled" to use it, but my IT department is being hesitant to alter core settings on a production server.  I'd rather not fight with them if it is not even possible to get it to work.

Anyone done this successfully?

    This topic has been closed for replies.

    1 reply

    April 28, 2009

    You may want to try the /3GB switch (ColdFusion in and of itself won't care about this switch) on a non-production system to see if it will help you.    Something to keep in mind is that even though your XMX and XMS values may be 1500, the JVM will grow a bit beyond that number due to GC and other bits of the JVM space getting excersized.

    If you need much more than about 1.4GB of JVM space, you should strongly consider moving to a 64 bit environment.

    I've had limited success on 32 bit systems with 4GB of memory in getting the /PAE switch to work.  Sometimes, the OS will pick up all 4GB and other times I'll see 3.9GB of memory showing up.  All are on Windows 2003 SP2 with the latest patches.