|
Mailing Lists
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
cfhhttp
Is there a limit to the size or amount of records that a txt file can haveKris Pilles 12/20/01 10:58 A There's definitely a 'practical' limit, since cfhttp (to the best of myJim McAtee 12/20/01 01:33 P Also be aware of the load time - as a timeout will kill the load. MakeJerry Johnson 12/20/01 02:03 P Ive been playing with the cfhttp for awhiel and it seems that I cannotKris Pilles 12/20/01 02:03 P Be sure if it is a large file that you includeLarry Juncker 12/20/01 02:12 P heres the link to my entire text file:Kris Pilles 12/20/01 02:21 P What does your CFHTTP code look like?Joseph DeVore 12/20/01 02:28 P To answer your question about the 225 line limit,Jerry Johnson 12/20/01 03:04 P 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 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 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 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 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 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 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 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
|
May 24, 2012
|
Latest Fusion Authority Articles
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||