Used 'wc -l' in Cygwin to count lines in the data file ("C:\SHARED\Server Code\logs 2011-10-07\node0.uart-cut.trnscr"). It is 8,619,504. Increased array size to 8,620,000. Now Scilab complains it needs 146,540,153 memory, and we only set stacksize to 100 million previously. Let's then increase stacksize to 150,000,000. Now SciLab complains it can't allocate that much memory! OK, let's go back to 100 million, and split the data file in half.
Splitting into data before and after Thu Oct 06 15:56:00 2011, which is roughly in the middle of the data file. Now have two files:
- node0.uart-cut.1st-half.trnscr - 4,143,039 lines
- node0.uart-cut.2nd-half.trnscr - 4,476,465 lines
Let's now extract just the 1st 1/4th of the data, before Thu Oct 06 04:20:33 2011:
- node0.uart-cut.1st-qrtr.trnscr- 1,984,492 lines
No comments:
Post a Comment