House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

cfhhttp

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Kris Pilles
12/20/2001 10:58 AM

Is there a limit to the size or amount of records that a txt file can have when using cfhttp? Kris Pilles Website Manager Western Suffolk BOCES 507 Deer Park Rd., Building C Phone: 631-549-4900 x 267 E-mail: KPilles@wsboces.org ______________________________________________________________________ Get Your Own Dedicated Windows 2000 Server   PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER   Instant Activation · $99/Month · Free Setup   http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Jim McAtee
12/20/2001 01:33 PM

There's definitely a 'practical' limit, since cfhttp (to the best of my knowledge), like a cffile read, works within RAM.  It's not difficult to totally swamp, or even crash a server using either tag if the file is big enough.  Generally, it's in the megabytes.  Depending on the server and the CPU load, it may be many megabytes. Jim ----- Excess quoted text cut - see Original Post for more ----- ______________________________________________________________________ Why Share?   Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER   Instant Activation · $99/Month · Free Setup   http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Jerry Johnson
12/20/2001 02:03 PM

Also be aware of the load time - as a timeout will kill the load.  Make sure you allow plenty of time in the requestTimeout. Jerry Johnson >>> jmcatee@mediaodyssey.com 12/20/01 01:31PM >>> There's definitely a 'practical' limit, since cfhttp (to the best of my knowledge), like a cffile read, works within RAM.  It's not difficult to totally swamp, or even crash a server using either tag if the file is big enough.  Generally, it's in the megabytes.  Depending on the server and the CPU load, it may be many megabytes. Jim > Is there a limit to the size or amount of records that a txt file can have ----- Excess quoted text cut - see Original Post for more ----- ______________________________________________________________________ Get Your Own Dedicated Windows 2000 Server   PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER   Instant Activation · $99/Month · Free Setup   http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Kris Pilles
12/20/2001 02:03 PM

Ive been playing with the cfhttp for awhiel and it seems that I cannot process a text fiel with more then 225 lines in it?  Has anyone else experienced this??? I guess it doesn't mater how many txt files I have I would lust prefer to just do it in one file??? Kris Pilles Website Manager Western Suffolk BOCES 507 Deer Park Rd., Building C Phone: 631-549-4900 x 267 E-mail: KPilles@wsboces.org There's definitely a 'practical' limit, since cfhttp (to the best of my knowledge), like a cffile read, works within RAM.  It's not difficult to totally swamp, or even crash a server using either tag if the file is big enough.  Generally, it's in the megabytes.  Depending on the server and the CPU load, it may be many megabytes. Jim > Is there a limit to the size or amount of records that a txt file can have ----- Excess quoted text cut - see Original Post for more ----- ______________________________________________________________________ Get Your Own Dedicated Windows 2000 Server   PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER   Instant Activation · $99/Month · Free Setup   http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Larry Juncker
12/20/2001 02:12 PM

Be sure if it is a large file that you include ?RequestTimeout=500 or more in order to not let CF time you out while downloading the file. Ive been playing with the cfhttp for awhiel and it seems that I cannot process a text fiel with more then 225 lines in it?  Has anyone else experienced this??? I guess it doesn't mater how many txt files I have I would lust prefer to just do it in one file??? Kris Pilles Website Manager Western Suffolk BOCES 507 Deer Park Rd., Building C Phone: 631-549-4900 x 267 E-mail: KPilles@wsboces.org There's definitely a 'practical' limit, since cfhttp (to the best of my knowledge), like a cffile read, works within RAM.  It's not difficult to totally swamp, or even crash a server using either tag if the file is big enough.  Generally, it's in the megabytes.  Depending on the server and the CPU load, it may be many megabytes. Jim > Is there a limit to the size or amount of records that a txt file can have ----- Excess quoted text cut - see Original Post for more ----- ______________________________________________________________________ Get Your Own Dedicated Windows 2000 Server   PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER   Instant Activation · $99/Month · Free Setup   http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Kris Pilles
12/20/2001 02:21 PM

heres the link to my entire text file: http://webmaster.wsboces.org/test.cfm This doesn't work. Now, if I reduce the number of links to 225 it will work? I checker the 226th line for anything that would cause it to error and i also moved the lines around and it still appears to always break after the 225th line... any ideaS? Kris Pilles Website Manager Western Suffolk BOCES 507 Deer Park Rd., Building C Phone: 631-549-4900 x 267 E-mail: KPilles@wsboces.org Also be aware of the load time - as a timeout will kill the load.  Make sure you allow plenty of time in the requestTimeout. Jerry Johnson >>> jmcatee@mediaodyssey.com 12/20/01 01:31PM >>> There's definitely a 'practical' limit, since cfhttp (to the best of my knowledge), like a cffile read, works within RAM.  It's not difficult to totally swamp, or even crash a server using either tag if the file is big enough.  Generally, it's in the megabytes.  Depending on the server and the CPU load, it may be many megabytes. Jim > Is there a limit to the size or amount of records that a txt file can have ----- Excess quoted text cut - see Original Post for more ----- ______________________________________________________________________ Get Your Own Dedicated Windows 2000 Server   PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER   Instant Activation · $99/Month · Free Setup   http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Joseph DeVore
12/20/2001 02:28 PM

What does your CFHTTP code look like? What does the file that you are fetching look like? heres the link to my entire text file: http://webmaster.wsboces.org/test.cfm This doesn't work. Now, if I reduce the number of links to 225 it will work? I checker the 226th line for anything that would cause it to error and i also moved the lines around and it still appears to always break after the 225th line... any ideaS? Kris Pilles Website Manager Western Suffolk BOCES 507 Deer Park Rd., Building C Phone: 631-549-4900 x 267 E-mail: KPilles@wsboces.org Also be aware of the load time - as a timeout will kill the load.  Make sure you allow plenty of time in the requestTimeout. Jerry Johnson >>> jmcatee@mediaodyssey.com 12/20/01 01:31PM >>> There's definitely a 'practical' limit, since cfhttp (to the best of my knowledge), like a cffile read, works within RAM.  It's not difficult to totally swamp, or even crash a server using either tag if the file is big enough.  Generally, it's in the megabytes.  Depending on the server and the CPU load, it may be many megabytes. Jim > Is there a limit to the size or amount of records that a txt file can have ----- Excess quoted text cut - see Original Post for more ----- ______________________________________________________________________ Why Share?   Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER   Instant Activation · $99/Month · Free Setup   http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Jerry Johnson
12/20/2001 03:04 PM

To answer your question about the 225 line limit, I have some legacy code reading in RTF files, some of which are 800K+, and it is handling it fine. Slow as heck, though.  like 50 seconds or so.  I am replaceing it with Perl as I go. Jerry Johnson >>> kpilles@wsboces.org 12/20/01 02:17PM >>> heres the link to my entire text file: http://webmaster.wsboces.org/test.cfm This doesn't work. Now, if I reduce the number of links to 225 it will work? I checker the 226th line for anything that would cause it to error and i also moved the lines around and it still appears to always break after the 225th line... any ideaS? Kris Pilles Website Manager Western Suffolk BOCES 507 Deer Park Rd., Building C Phone: 631-549-4900 x 267 E-mail: KPilles@wsboces.org Also be aware of the load time - as a timeout will kill the load.  Make sure you allow plenty of time in the requestTimeout. Jerry Johnson >>> jmcatee@mediaodyssey.com 12/20/01 01:31PM >>> There's definitely a 'practical' limit, since cfhttp (to the best of my knowledge), like a cffile read, works within RAM.  It's not difficult to totally swamp, or even crash a server using either tag if the file is big enough.  Generally, it's in the megabytes.  Depending on the server and the CPU load, it may be many megabytes. Jim > Is there a limit to the size or amount of records that a txt file can have ----- Excess quoted text cut - see Original Post for more ----- ______________________________________________________________________ Get Your Own Dedicated Windows 2000 Server   PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER   Instant Activation · $99/Month · Free Setup   http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb


<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

May 24, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
     1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31     

Designer, Developer and mobile workflow conference