Dennis, thanks for your helpful reply. :)

On 28/03/2008, at 7:55 AM, Dennis wrote:
On Mar 27, 2008, at 4:27 AM, Clytie Siddall wrote:

I don't know if I've hit a memory ceiling with BBEdit, or whether it should be able to handle very large text files.

From the BBEdit FAQ:

Ouch. I should have read that. Sorry. Too much fog in my brain nowadays. :(


BBEdit and TextWrangler represent open documents as Unicode, which uses two bytes for each character. Combined with an internal Mac OS X limitation, this means that you can open files up to 384 megabytes in size (402,653,184 characters).

Even my compendium mightn't get that far. I do like a challenge. :D


I was editing my gettext Compendium today. A Compendium is a list of all the unique strings you have translated. This file is over 30 MB in size.

Although I was only selecting, deleting and adding small amounts of text in this file, I experienced increasingly long save times, and some of my simple operations also had a spinning beachball.

I've been doing some work today on a 352 MB file (over 5.6 million lines and 369 million characters) and haven't seen any problems. The file is slower to open and save, and some operations take a bit longer, but for the most part BBEdit has been very responsive. In fact, for most operations I've been using (column selections, Prefix/ Suffix Lines, Sort Lines, Quick Search, Copy/Paste, and lots of scrolling) I can't even tell I'm working on an exceptionally large file. Kudos to Bare Bones for creating such a reliable text editing tool.

So I don't know what might be the cause of the problems you're seeing, but I don't think it's a BBEdit file size limit. Does the problem persist through a reboot of your machine?

Yes, I said that in the original message. I had the problem, but noticed (Software Update) that I had a system update to install, so installed it via reboot. I continued to have the same problem.

Does anyone here understand what BBEdit is reporting in the Console? Here's the most recent instance:
___
27/03/08 9:49:01 PM [0x0-0xa10a1].com.barebones.bbedit[2029] BBEdit(2029,0xa04b7fa0) malloc: *** mmap(size=36990976) failed (error code=12) 27/03/08 9:49:01 PM [0x0-0xa10a1].com.barebones.bbedit[2029] *** error: can't allocate region 27/03/08 9:49:01 PM [0x0-0xa10a1].com.barebones.bbedit[2029] *** set a breakpoint in malloc_error_break to debug
___

It looks like memory allocation to me, but that's all I can work out.

Rebooting BBEdit fixes the problem for a while.

from Clytie

Vietnamese Free Software Translation Team
http://vnoss.net/dokuwiki/doku.php?id=projects:l10n




--
------------------------------------------------------------------
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]>

Reply via email to