> The new server has 2GB (that's 2 GIGAbytes) of RAM.  RAM right 
> now is insanely inexpenive, even more so when I built the machine 
> several weeks ago. So, now what do I see in terms of memory usage?  
> Somewhere between 250MB and 290MB, never higher. I don't see the 
> slow, gradual increase in memory consumption that I used to see.  
> Who knows what to credit - newer ODBC drivers, ColdFusion5, or 
> Windows 2000 itself. Whatever the case, it's welcome. What I'd 
> like, however, is a means of turning all that unused RAM into 
> increased performance. I've already got the CF cache set to 
> 128MBytes, which should be overkill for something like 10MBytes 
> worth of source files for the all CF templates themselves.

Credit the "new" memory model in CF 5. In CF 4.5.x, the service wouldn't
release memory back to the operating system when it wasn't in use; this
behavior, coupled with memory leaks in database drivers, would show the
memory consumption pattern you described. CF 5 reverts to the memory model
used in CF 4.0.x and earlier versions - unused memory is released to the OS,
so even if you do have memory leaks in database drivers, the negative effect
of those leaks is much lower.

As for what to do with the memory, you might consider caching more stuff
there, if that would make sense for your application. Cache queries with
CACHEDWITHIN/CACHEDAFTER or within persistent memory variables, cache
generated HTML in persistent memory variables with CFSAVECONTENT, and so on.

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
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with 
'unsubscribe' in the body or visit the list page at www.houseoffusion.com

Reply via email to