Unable to open full log file

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
Mrhope
Posts: 3
Joined: Mon Jun 13, 2011 10:03 am

Unable to open full log file

Post 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.
User avatar
helios
Posts: 711
Joined: Sun Mar 02, 2003 5:52 pm
Location: Helios Software Solutions
Contact:

Post 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.
Helios Software Solutions
Mrhope
Posts: 3
Joined: Mon Jun 13, 2011 10:03 am

Post 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.
Mrhope
Posts: 3
Joined: Mon Jun 13, 2011 10:03 am

Post 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.
Post Reply