CFFILE reads the entire file into memory before acting on it. Even appending to 
the file requires it be read into memory first. That's where your memory usage 
is likely coming from -- though not sure why it's not being freed in a timely 
manner.

Chris


>On Dec 17, 2007, at 7:58 PM, "Jonathon Stierman" <[EMAIL PROTECTED]>  
>wrote:
>
>> An application of mine has recently been acting up -- memory has been
>> shooting up at a fairly rapid pace this past week, and I'm at my  
>> wits end!
>> Can't seem to find any way to fix it.  Here's the symptoms:
>>
>> After rebooting the CF service, memory starts out at about 60mb for  
>> the
>> jrun.exe process.  After that all hell breaks loose ;)  It continues  
>> to
>> consume about 4 megs a minute until it plateau's at about 590mb.  At  
>> that
>> point, the server starts delivering "500 null" errors, and my
>> application/exception.log files fill up with  
>> java.lang.OutOfMemoryError
>> messages.
>>...each one has to read a text file that is between  
>> 200k and
>> 5 megs, and that seems to correlate with the memory jumps -- but why
>> wouldn't that memory be released after the request is complete?  It  
>> just
>> keeps piling up.
>>
>> Is this to be expected from high volumes of file-reading/parsing  
>> requests?


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295184
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to