> At what point is memory usage excessive:
> When memory usage exceeds physical memory?
> When memory is x% of swap?
>
> Still trying to get a handle on what the memory plateau is
> for CF
This is a hard question to answer. Generally, you want to assume that all
available memory will be available (and potentially used) by CF - you don't
want to run CF and other services on the same machine. Because of the
performance penalty incurred by releasing and reacquiring memory, CF 4.5.x
simply retains all memory used.
So, the question becomes, how much memory does your application need? You
can generally determine this by capacity planning tests. You want to provide
as much memory in the server as your application requires - memory is cheap.
The problem with CF 4.5.x memory allocation isn't that it might consume all
the available server memory, but rather that if you have any memory leaks,
the effects of those leaks will cause the server to run out of memory to
consume; in this state, the server will eventually become unresponsive and
will require a restart. The biggest cause of memory leaks, in my experience,
has been the database drivers used by CF. For example, there are memory
leaks in several versions of MDAC drivers, as well as within versions of the
Oracle Net8 client.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists