On 12/8/05, Jon Block <[EMAIL PROTECTED]> wrote: > I have a super load intensive app that I'm working on. I'm using tons of > cached queries and other types of CFC's etc. My server has 2GB of memory > on it. I want CF to be able to gobble up all the memory it possibly > would need to accomplish all of the stuff I've got it doing. Do I need > to specify somewhere that it can use up to 2GB or memory?? >
Jon, Well, yes, but be extremely careful. Here are some notes: 1) If you have 2 GB total on the box, then you *can't* dedicate 2GB solely for ColdFusion. Other applications (like the OS) need their own RAM allocations. JVMs use continuous memory spaces, which means that it will need 2GB of *continuous* space in RAM to work. If there's isn't 2 full GB of RAM available, it'll use 2GB of swap space instead (if there's even enough), and will kill your performance. 2) You don't note the OS you're using. If it's Windows, there is a limit to the amount of RAM that can be allocated to a JVM Heap (I think it's 1.4 GB) due to a continuous memory address limitation on that platform. 3) You will need to create a separate jvm.config file, which ColdFusion uses as its "template" to determine how much memory, etc., to allocate. I would suggest searching around for performance tuning articles to help you out, as this is a very complicated area. Here's one to get you started: http://www.robisen.com/index.cfm?mode=entry&entry=FD4BE2FC-55DC-F2B1-FED0717CC1C7E0AF Also, anything on Steven Erat's blog is invaluable as well: http://www.talkingtree.com/blog/ Regards, Dave. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:226582 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

