First you start out with the requirements then you start with the memory and then you can come up with the solution. What version of CF, what version of Java, What is your Webserver front end, how many standard active sessions, how many sessions per second, hardware, memory, processors, disk size, type, speed, workload, all of that just for a baseline and then use some stress tool to further tweak the settings, Otherwise here is the "generic" suggestion, set memory to 70 to 95 percent of your host, depending on OS, 70 Windows, 95 UNIX. This is what I suggest just as a base if you had a machine running some kind of UNIX with 4.5 GB of memory as an example XX:MaxNewSize=1024m -XX:SurvivorRatio=10 -Xmsm4096m -Xmx4096m -Xgc: parallel -Xns256m -XXaggressive:memory
To