Page 1 of 1

Unable to open full log file

Posted: Mon Jun 13, 2011 10:11 am
by Mrhope
OS-Win7 64-bit
Memory-6GB

I'm trying to open a large chat log file, which is currently 168MB file. When opening the file I get no errors or messages and the file only goes to line 1,991,729.

After opening the file about 41K of memory is used with 587K Pool.

I can open this same file in Open Office Writer with no errors so I don't believe it's a memory issue or corruption issue.

From what I've read TextPad should be able to support this size of file.

Any suggestions or tips would be appreciated.

Posted: Mon Jun 13, 2011 3:05 pm
by helios
Do you think the file is still being written to? Because TextPad memory maps the file, it will only be able to access the part that has been committed to disk, not what's still in the cache of the application doing the writing.
Perhaps Open Office Writer can access the whole file because it's reading it a block at a time and the file system API is synchronising readers and writers.

Posted: Mon Jun 13, 2011 9:53 pm
by Mrhope
I thought that could be a possibility too, since the file is open in the chat program and being written to as people are chatting. However, after disabling the logging, it is still unable to open the full log.

So after trying this I don't believe that the file is still being written to.

Posted: Tue Jun 14, 2011 5:51 am
by Mrhope
I restarted Firefox on the computer, which was using over 1GB of memory and it appears to work now. Thanks for the assistance.