That's why I have my min set to 64meg, which is less than most of the templates that will be used on the site as well as less than the amount of memory that should be used within the first half hour or so of the site being up. My site is so tight that I'm not worried about garbage collection but I am worried about a fast startup.
It all depends on what you're doing and what's important to you. A site with some heavy processing and/or memory usage will not want a lot of garbage collection as it'll impact the performance of the heavy pages. A site with relatively light processing or a lot of 'behind the scenes' heavy processing but light in front might not care about garbage collection. JVM settings is a black magic art that needs a lot of playing around even after reading all the best practices. You set it, try it out, re-set it, and go through the process again and again till it all 'feels' right. > MIchael, > > MM's advice is to set the min and max to the same value to save on > garbage > collection, but it DOES add to the time necessary to start (or restart) CF > server. > > From http://www.macromedia.com/go/tn_18540 > ----------------------------------------- > The default maximum heap size is set to 512MB for ColdFusion MX > Professional > and Enterprise. For best performance, it's best to set your initial heap > size and your maximum heap size to the same value. Finding the optimal > size > for the heap will definitely result in better performance. Setting the > value > too high can result in poorer performance from the higher degree of > garbage > collection and internal memory management required for the larger heap. > ----------------------------------------- > > Even with the min heap size set at a gig or more I have to wonder why in > the > world it would take 5 or 10 seconds .... seems like a dependency issue - > like it's waiting for some other server to timeout before it starts. Does > it take that long to just 'Restart the service'? Is the service it > running > on a "domain" account (could be timing out trying to contact the AD > server). > > -Mark > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229906 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

