RE: CF 4.51sp2 Memory Usage & Plateau

2000-12-21 Thread Dave Watts

> What versions of the net8 and mdac drivers are susceptable to 
> the memory leak?

There are various leaks in various versions. Generally, new versions fix
memory leaks in older versions, so your best bet is usually to simply use
the latest versions.

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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CF 4.51sp2 Memory Usage & Plateau

2000-12-21 Thread C Frederic Valone

What versions of the net8 and mdac drivers are susceptable to the memory leak?
 Frederic

Dave Watts wrote:

> > 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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CF 4.51sp2 Memory Usage & Plateau

2000-12-21 Thread Dave Watts

> 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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CF 4.51sp2 Memory Usage & Plateau

2000-12-19 Thread WBB

Try going to the beta site and reading the forum...there are specifics about
at what point the warnings kick in and about registry keys that you can set
that will change this.

> 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



~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists