With really big files you may not want to read the entire file into memory
the way <cffile> does. I've seen some folks user Java file i/o calls to get
around this, essentially inline Java calls to read the file line by line.
This will be slower, but, it'll work.

--- Ben


-----Original Message-----
From: Matt Robertson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 12, 2006 3:53 PM
To: CF-Talk
Subject: Re: size limit for cffile?

Well this isn't quite the same old question, and its my fault for not being
clear.  I'm asking strictly about the READ attribute.  I already have the
file placed on the server via SSH.

And the plot has thickened since I first posted.  What I am finding is I can
get the file into memory (an 89 mb file so far) but once its in there CF
doesn't have any playing-around room and crashes with an out-of-memory error
doing some after-read processing.

Am looking into how I can increase how much memory CF can address now.
 Server has 2gb and looks like I can't take more than 1.128gb.



On 7/12/06, Rick Root <[EMAIL PROTECTED]> wrote:
> Matt Robertson wrote:
> > I have a client who has the need to read in real big text files daily.
> >  100mb plus.  Anyone know what the functional limit is on cffile, if 
> > any?  Server has 2gb of RAM and is a dual Xeon.
> >
>
> If I were on another list, I'd just tell you to search the archives. 
> ;)
>
> but instead cuz this is a friendly list, I'll post some links to other 
> threads where this is discussed..
>
> http://www.houseoffusion.com/cf_lists/messages.cfm/forumid:4/threadid:
> 13645
>
> http://www.houseoffusion.com/cf_lists/messages.cfm/forumid:12/threadid
> :927
>
> and others..
>
> Rick
>
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246337
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to