[TxMt] Re: Annoying slowdowns of textmate...

Mathieu Godart mathieu at coolsand-tech.fr
Thu Apr 30 13:26:11 UTC 2009


I also stopped using "Find in Project" for large projects because of  
the (supposed) memory leaks and the fact that you cannot select a sub- 
directory to search. Instead, I installed Wycat's Search command [1]  
and I mapped the cmd-cap-F to this command.

Unfortunately, this Search command does not allow you to Replace. To  
do so on a sub-directory of your project, I would advice to open this  
sub-directory as a new project in TM to reduce the number of files to  
process.

[1] - http://yehudakatz.com/2007/11/15/textmate-search-in-a-folder-with-grep-part-deux/

Hope I was clear.

Best regards,
Mathieu

___________________________________________

Mathieu Godart

Skype: mathieu_godart
MSN: mathieu_godart at hotmail.com

ASIC Integration Manager
Coolsand Technologies
___________________________________________



Le 30 avr. 09 à 14:41, Andrew Farley a écrit :

> Well, if the devs (or anyone) looks into this or wants to debug/test
> this, I'd be happy to run a debug version of TextMate.
>
> And I have had TextMate crash a few times after not being able to
> recover from a find in project, or cmd-tabbing a lot.  Usually takes
> about 3-4 minutes of it hanging there to crash.  So it is possible
> there is a leak here.  Happy to test!  :)  Hit me up!  :P
>
> Andrew
>
>
> On Apr 30, 2009, at 6:31 AM, Kai Janson wrote:
>
>> A long time ago there was a discussion about TextMate leaking memory
>> when using "Find in Project" ... I wonder if that applies here, too.
>> On Apr 30, 2009, at 7:26 AM, Scott Haneda wrote:
>>
>>> On Apr 30, 2009, at 4:26 AM, Andrew Farley wrote:
>>>
>>>> So, first, I regularly background and foreground TextMate, and  
>>>> every
>>>> time I do so with this "folder" open in a TextMate window, it takes
>>>> anywhere from 2 to 20 seconds to re-foreground.  I'm one of those
>>>> really really fast users who makes a change, switches to browser,
>>>> hits
>>>> refresh, goes back, makes a change, etc. etc.  Pretty standard with
>>>> web development.  This delay (especially when it leans towards the
>>>> longer end) is really unbearable.  I have a feeling that it is re-
>>>> scanning the entire directory tree for changes everytime I
>>>> background/
>>>> foreground it.  This is less than ideal.  I've been to a few  
>>>> Leopard
>>>> dev talks at the last WWDC and I remember a feature (can't remember
>>>> the name) that let you subscribe to folder/file changes.  Perhaps
>>>> TextMate should do this instead of rescanning the directory tree  
>>>> for
>>>> changes?  Or, maybe it's not doing that... but something is
>>>> happening
>>>> which makes it take up to around 20 (sometimes rarely even 30-40)
>>>> seconds everytime I foreground textmate with this folder open.
>>>> Anything I can do about this?
>>>
>>>
>>> I am anxious to see if you find others who notice this or found a
>>> solution.  I was talking with a friend about this the other day,
>>> and http://ciaranwal.sh/remate/
>>> ReMate was mentioned.  This was more to speed up ExpanDrive, so not
>>> sure if it applies.
>>>
>>> I am not editing more than a few files at a time, and until the  
>>> other
>>> day, was not even using projects, as I never saw the "Save as
>>> Project"
>>> option.  I felt it was too much a pain to drag and drop files to  
>>> make
>>> a new project every time, this has been solved.  But I still do a  
>>> lot
>>> of remote dev, and there is no way to get remote opened windows into
>>> project order, so I am still stumped.
>>>
>>> Back to the issue at hand, with my small, around 10-100k in size
>>> files, I too noticed the lag in toggling between command-tab of  
>>> apps.
>>> I use Lite Switch X, and was attributing it to that app, but good to
>>> know that is not the case.
>>>
>>> Only ever when I use TM, does edit -> cmd-tab -> Safari/Refresh ->
>>> cmd-
>>> tab, there is a clear, noticeable slowness in that switch to me.
>>> Sometimes it is more than others, ReMate did nothing to solve this
>>> for
>>> me.
>>>
>>> For me, it is minimal, but it is something I do in fact "feel".  It
>>> seems to grow worse as time goes on, I reboot of the entire machine
>>> is
>>> needed to make it get snappy again, but it will slow quickly.
>>>
>>> Glad someone else does in fact notice it.  Though only glad in  
>>> that I
>>> do not have to troubleshoot my hardware and software setup :)
>>> -- 
>>> Scott * If you contact me off list replace talklists@ with scott@ *
>>>
>>>
>>> _______________________________________________
>>> textmate mailing list
>>> textmate at lists.macromates.com
>>> http://lists.macromates.com/listinfo/textmate
>>
>>
>> _______________________________________________
>> textmate mailing list
>> textmate at lists.macromates.com
>> http://lists.macromates.com/listinfo/textmate
>
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate




More information about the textmate mailing list