On Jun 15, 2004, at 6:24 PM, Dick Applebaum wrote:
> Mmmm...
>
> I'll give that a try -- at half time!
>
> Dick
>
> On Jun 15, 2004, at 6:12 PM, Barney Boisvert wrote:
>
> > > Are you suggesting that I list-loop an initial pass against
> > > the entire
> > > file creating an array, then parse the array line-by-line?
> >
> > Basically. listToArray(fileContent, chr(10)) is probably faster
> than
> > your
> > CFLOOP, because it's all java.
> >
> > Cheers,
> > barneyb
> >
>
OK!
1) I can't readLn a file in CF so I read the entire 3.8 meg xml file
into RAM
2) XmlTransform runs out of memory. so I can't use xls to manipulate
the file
3) XmlSearch runs out of memory so I can't use Xpath to manipulate the
file
4) I can CFexecute a Perl program to parse/render the file in 3-4
seconds
5) I can convert the 3,8 Meg, 85,000 line file to an in-memory array
(Now I have the orig file and the array representation of this file in
memory at the same time..
6) Now, I can line-by-line (array-element-by-array-element) process
this file.
What's wrong with this picture --- AFAICT -- everything!
CF is the wrong tool!
Thought I'd never say that!
Scheise!
Dick
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
- RE: Out of Memory Error Transforming large XML file. Dave Watts
- RE: Out of Memory Error Transforming large XML file. Rob
- Re: Out of Memory Error Transforming large XML file. Dick Applebaum
- Re: Out of Memory Error Transforming large XML fi... I-Lin Kuo
- Re: Out of Memory Error Transforming large XM... Dick Applebaum
- RE: Out of Memory Error Transforming larg... Barney Boisvert
- Re: Out of Memory Error Transforming... Dick Applebaum
- RE: Out of Memory Error Transfor... Barney Boisvert
- Re: Out of Memory Error Tran... Dick Applebaum
- Resolved: Out of Memory Erro... Dick Applebaum
- Resolved: Out of Memory Erro... Dick Applebaum
- java.lang.OutOfMemoryError Dick Applebaum
- RE: Out of Memory Error Transforming large XML file. Calvin Ward
- Re: Out of Memory Error Transforming large XML fi... Dick Applebaum
- Ordering/Sorting CFFTP Results with "lis... Greg Landers
- More on: Out of Memory Error Transforming lar... Dick Applebaum
- RE: Out of Memory Error Transforming large XML file. Matthew Walker