On Nov 13, 2006, at 5:47 PM, BBEdit-Talk List wrote:
I have a 552 mb server log file that BBEdit 8.5.1 won't open.
Attempts to open it result in an error -116 ( (MacOS Error code:
-116)
Because of a limitation in the OS, the largest file size we can
currently read is 768M when represented as Unicode. Note the
qualification; since BBEdit represents files internally as Unicode,
a character takes up two bytes, so today's practical limit is 384M
on disk (since that'll expand to 768M when represented as Unicode).
Working around the limitation is on our to-do list.
On 11/12/06 at 3:03 PM, [EMAIL PROTECTED] (Joseph Hourcle) wrote:
For log files, I'll either use grep (the unix command) to break it
into smaller chunks by time (if the timestamp is on each line), or
use
the unix command 'split' to just split it into an arbitrary number of
lines.
Another possibility, depending on what you need to do with the
file, is to use "head" or "tail" to read just the beginning or end
of the file, as needed.
Thanks for the info and education, Rich.
Ideally, I'd love to be able to split this file down -- filtering
just for desired VH lines as needed (its a server log with virtual
hosting) so I may provide individual clients with (only) their
visitation raw data. The server is an old Webstar 4 machine, so I
don't have the luxury of log splitting such as is natively supported
by Apache.
I found an old OS 9 tool that I am currently evaulating called
Splitsville thanks to Sue on the Webstar list. It did an initial
split. We'll either retire the Webstar machine ahead of schedule, or
slowly migrate the customers that desire individual logs to an Apache
system if we can't get another package called LogTran to function as
advertised. Pity, as I like supporting shareware, but if the apps
aren't doing what I need them to, kind of pointless to stay in the
past with this box.
Would also love for you to find a solution to opening 'windows' of
text of large files within BBEdit, rather than loading the entire
file into memory if such a thing was possible.
Cheers,
vail
--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to: <[EMAIL PROTECTED]>