Hi everyone :)

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.

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.

Peek-A-Boo, a system monitor program, kept showing virtual memory thrashing.

Eventually, BBEdit told me it did not have enough memory to delete a couple of lines of text. Console says:
___
24/03/08 6:56:33 PM [0x0-0x1f61f6].com.barebones.bbedit[54415] BBEdit(54415,0xa012efa0) malloc: *** mmap(size=57163776) failed (error code=12) 24/03/08 6:56:33 PM [0x0-0x1f61f6].com.barebones.bbedit[54415] *** error: can't allocate region 24/03/08 6:56:33 PM [0x0-0x1f61f6].com.barebones.bbedit[54415] *** set a breakpoint in malloc_error_break to debug
___

I can't find a separate log for BBEdit, so sorry I can't supply more information. Console didn't seem to have anything else on its mind at the time.

I had put off installing the latest lot of system updates until I finished editing this file, so I'm only running the penultimate 10.5.2 at the moment on my MacBook.

...

Next day, after installing the system update and restarting my MacBook, I have the same problem after editing (and searching) for a while. I only have two copies of my large file open, in separate windows. I have reduced the size of the file by editing it.
___
25/03/08 4:53:30 PM SpamSieve[449] MJTWorker.m:65 -workerThread:] <MJTGrowlWorker: 0x18160550> process: NSCFDictionary 25/03/08 4:53:36 PM SpamSieve[449] MJTWorker.m:65 -workerThread:] <MJTGrowlWorker: 0x18160550> process: NSCFDictionary 25/03/08 4:56:19 PM [0x0-0x1c01c].com.barebones.bbedit[156] BBEdit(156,0xa04b7fa0) malloc: *** mmap(size=37347328) failed (error code=12) 25/03/08 4:56:19 PM [0x0-0x1c01c].com.barebones.bbedit[156] *** error: can't allocate region 25/03/08 4:56:19 PM [0x0-0x1c01c].com.barebones.bbedit[156] *** set a breakpoint in malloc_error_break to debug 25/03/08 4:56:25 PM [0x0-0x1c01c].com.barebones.bbedit[156] BBEdit[156]: [FC] Testing....70 25/03/08 4:56:25 PM [0x0-0x1c01c].com.barebones.bbedit[156] BBEdit[156]: [FC] Corem;km;m;m;m;m;lm;lm <NULL> 25/03/08 4:57:18 PM [0x0-0x1c01c].com.barebones.bbedit[156] BBEdit(156,0xa04b7fa0) malloc: *** mmap(size=37347328) failed (error code=12) 25/03/08 4:57:18 PM [0x0-0x1c01c].com.barebones.bbedit[156] *** error: can't allocate region 25/03/08 4:57:18 PM [0x0-0x1c01c].com.barebones.bbedit[156] *** set a breakpoint in malloc_error_break to debug
___

I'm restarting BBEdit, to get it to reset its memory requirements.

...

Some editing later... the same problem:
___
25/03/08 10:10:45 PM [0x0-0x81081].com.barebones.bbedit[1686] BBEdit[1686]: [FC] Testing....91 25/03/08 10:10:45 PM [0x0-0x81081].com.barebones.bbedit[1686] BBEdit[1686]: [FC] Corem;km;m;m;m;m;lm;lm <NULL> 25/03/08 10:12:38 PM [0x0-0x81081].com.barebones.bbedit[1686] BBEdit[1686]: [FC] Testing....92 25/03/08 10:12:38 PM [0x0-0x81081].com.barebones.bbedit[1686] BBEdit[1686]: [FC] Corem;km;m;m;m;m;lm;lm <NULL> 25/03/08 10:13:01 PM [0x0-0x81081].com.barebones.bbedit[1686] BBEdit[1686]: [FC] Testing....93 25/03/08 10:13:01 PM [0x0-0x81081].com.barebones.bbedit[1686] BBEdit[1686]: [FC] Corem;km;m;m;m;m;lm;lm <NULL> 25/03/08 10:13:16 PM [0x0-0x81081].com.barebones.bbedit[1686] BBEdit[1686]: [FC] Testing....94 25/03/08 10:13:16 PM [0x0-0x81081].com.barebones.bbedit[1686] BBEdit[1686]: [FC] Corem;km;m;m;m;m;lm;lm <NULL> 25/03/08 10:13:19 PM [0x0-0x81081].com.barebones.bbedit[1686] BBEdit(1686,0xa04b7fa0) malloc: *** mmap(size=37158912) failed (error code=12) 25/03/08 10:13:19 PM [0x0-0x81081].com.barebones.bbedit[1686] *** error: can't allocate region 25/03/08 10:13:19 PM [0x0-0x81081].com.barebones.bbedit[1686] *** set a breakpoint in malloc_error_break to debug
___

Is there some way I can increase BBEdit's memory allocation? Or is this a different problem?

Thanks for any help you can offer with this. :)

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