Hi,
We ran a test for 5 days, 700Mb log file, but even a 2GB RAM machine can't open it ("Out of Memory" error). There's at least 3 million records. Please, how can we split the binary log file we have? We really can't afford to throw away 5 days of testing!
(yes, we've already set it to hourly splits for future tests)
thanks,
Daniel
Subscribe to forum
Forum
Splitting the log file
Page: 1
| Author | Post |
|---|---|
|
Daniel
|
#1 Thu May 10, 2007 1:29 am
|
| Guest | |
|
Daniel
|
#2 Thu May 10, 2007 5:11 am
|
| Guest |
Never mind.. we used the known format of the file to write a simple splitter application. Thanks!
|
|
#3 Thu May 10, 2007 11:22 am
|
|
|
Administrator
Registered: Sep 2007
Posts: 134
|
Hello Daniel,
Thanks for your interest in SmartInspect. Writing a tool for splitting the log file should indeed be the best way to handle this. Such a tool should normally require less than 100 lines of code. Please note that there's no need to fully read and extract all properties of the individual packets. It is sufficient to read the packet header, look at the packet size, read the packet body and then write the entire packet to an output file. In pseudo code this could look like: MAXIMUM_SIZE = 50 * 1024 * 1024 { 50 MB }Please let me know if you have any questions. You can also contact me via email (simply click on the my name below). |
Page: 1