[TxMt] problems with large text files

Christof Janssen c.janssen at mpi-hd.mpg.de
Tue Jan 24 14:01:13 UTC 2006


I sometimes have to work on large data files. The HITRAN 2004  
spectroscopic database, is such an example  (http://cfa- 
www.harvard.edu/hitran//). According to the terminal command wc  
(wordcount), the file that I want to open contains 280 983 978  
characters in 1 734 469 lines. Opening with TextWrangler takes about  
20 s.After that time I can move around and do some copy and paste  
etc. TextMate, however, takes about 10 s on my 1.5 GHz G4 PB (2 GB  
Ram), then it unexpectedly quits without actually displaying the  
file. Can/Shouldn't I expect TextMate to work with files this large ?  
There appears to be a problem with memory allocation.

Here is what the console log says.

===== Dienstag, 24. Januar 2006 14:54 Uhr Europe/Berlin =====
TextMate(18765,0xa000ed68) malloc: *** vm_allocate(size=1073741824)  
failed (error code=3)
TextMate(18765,0xa000ed68) malloc: *** error: can't allocate region
TextMate(18765,0xa000ed68) malloc: *** set a breakpoint in  
szone_error to debug
terminate called after throwing an instance of 'std::bad_alloc'
   what():  St9bad_alloc


More information about the textmate mailing list