Error Staring ColdFusion MX - JVM Heap Issues

by Pete Freitag

If your running the Service Pack 1 on Windows 2003, and ColdFusion MX with more than 1024mb in the max heap setting, you might see the error:

Windows could not start the ColdFusion MX Application Server on Local
Computer. For more information, review the System Event Log. If this
is a non-Microsoft service, contact the service vendor, and refer to
service-specific error code 2.

In the logs you might see:

Error occurred during initialization of VM
Could not reserve enough space for object heap

The problem could be a number of things but here are two possibilities you should look into: