Well, rats. I went for the whole big array
ww1 =: ([: shell zipth&,) each {."1 dirtree 'c:\test1\log.gz'
$ww1
944
This took a minute, but it did complete. So I am halfway there. Then I
tried to extract all the little strings I needed:
all =: > cleanString1 ('RESULT[0]';crlf,'CONFIDENCE') getTagContents ; >
ww1
|out of memory
| all=:>cleanString1('RESULT[0]';crlf,'CONFIDENCE')getTagContents ;>ww1
$ ;> ww1
|out of memory
| $ ;>ww1
So I am going to have to either find a more efficient scheme, or break the
ww1 file in chunks and glue the results back together at the end. The final
attay will be quite small. It's just the intermediate arrays that are big.
I have a 64bit Windows 7 machine, but only 4 Gig of ram.
Skip
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm