There is a plugin called ReMate which should fix the problem. If you are editing files over a network share, this is bad news with TextMate and will probably eventually crash and lose your work. Be careful.
When i open a folder on textmate, in this case, kohana stack. I open e file writing some code. Then save it, goto chromium to check. Now when return to textmate, textmate freezes and takes 100% CPU, after some time, 5 to 20second, everything comes to normal. This happenes every time textmate lost focus then got focus again. step to reproduce,
- Open textmate and open a file.
- Goto another app while keeping textmate open, In a word,make
textmate lose focus. 3. Return to textmate, In a word, make textmate got focus. => Cpu usage goto 100% and textmate hangs. I'm suspecting that when getting focus, textmate scans the files for changes outside textmate, is that it ? if so, is there any workaround ?
ReMate is a great solution, if your files are remote.
I too am finding that lately (maybe only the last couple of OS X updates) means that even on a small-ish project, stored locally, I am getting slowdowns.
And I think Brandon is being a little melodramatic with with 'probably eventually crash…'. I generally avoid working on mounted remote devices, mainly for speed and latency issues. Having said that, I still end up editing files that are stored on network shares, even those mounted from across the world via ExpanDrive. Haven't had an issue with corruption/lost files in the time I have been using TextMate. Maybe 5+ years.
Matt.
On 14/07/2011, at 8:25 AM, Brandon M Fryslie wrote:
There is a plugin called ReMate which should fix the problem. If you are editing files over a network share, this is bad news with TextMate and will probably eventually crash and lose your work. Be careful.
http://ciaranwal.sh/remate/ When i open a folder on textmate, in this case, kohana stack. I open e file writing some code. Then save it, goto chromium to check. Now when return to textmate, textmate freezes and takes 100% CPU, after some time, 5 to 20second, everything comes to normal. This happenes every time textmate lost focus then got focus again. step to reproduce,
- Open textmate and open a file.
- Goto another app while keeping textmate open, In a word,make
textmate lose focus. 3. Return to textmate, In a word, make textmate got focus. => Cpu usage goto 100% and textmate hangs. I'm suspecting that when getting focus, textmate scans the files for changes outside textmate, is that it ? if so, is there any workaround ?
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Hi,
Thank you very much guys.Installing remate solved the problem completely. :D :D :D
Btw, its was local project, in my home folder., not a mounted network volume. :)
Thank you again :)
2011/7/14 Matthew Schinckel matt@schinckel.net:
ReMate is a great solution, if your files are remote. I too am finding that lately (maybe only the last couple of OS X updates) means that even on a small-ish project, stored locally, I am getting slowdowns. And I think Brandon is being a little melodramatic with with 'probably eventually crash…'. I generally avoid working on mounted remote devices, mainly for speed and latency issues. Having said that, I still end up editing files that are stored on network shares, even those mounted from across the world via ExpanDrive. Haven't had an issue with corruption/lost files in the time I have been using TextMate. Maybe 5+ years. Matt. On 14/07/2011, at 8:25 AM, Brandon M Fryslie wrote:
There is a plugin called ReMate which should fix the problem. If you are editing files over a network share, this is bad news with TextMate and will probably eventually crash and lose your work. Be careful. http://ciaranwal.sh/remate/
When i open a folder on textmate, in this case, kohana stack. I open e file writing some code. Then save it, goto chromium to check. Now when return to textmate, textmate freezes and takes 100% CPU, after some time, 5 to 20second, everything comes to normal. This happenes every time textmate lost focus then got focus again. step to reproduce,
- Open textmate and open a file.
- Goto another app while keeping textmate open, In a word,make
textmate lose focus. 3. Return to textmate, In a word, make textmate got focus. => Cpu usage goto 100% and textmate hangs. I'm suspecting that when getting focus, textmate scans the files for changes outside textmate, is that it ? if so, is there any workaround ?
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Wiadomość napisana przez Sarim Khan w dniu 14/07/2011, o godz. 03:59:
Btw, its was local project, in my home folder., not a mounted network volume. :)
Is your project tree so huge or do we have some bug with rescan?
As i said in the first post, it is kohana php framework 3.1 project.
2011/7/15 Rafał Komorowski komor@mac.com:
Wiadomość napisana przez Sarim Khan w dniu 14/07/2011, o godz. 03:59:
Btw, its was local project, in my home folder., not a mounted network volume. :)
Is your project tree so huge or do we have some bug with rescan?
--
Rafał Komorowski komor@mac.com GG: 4083718 http://homepage.mac.com/komor/
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On 2011-07-15 04:21, Sarim Khan wrote:
As i said in the first post, it is kohana php framework 3.1 project.
Bear in mind that some of us have never heard of this "kohana php framework 3.1"... Tens of files? Hundreds? Thousands?
FWIW, I also see poor refresh performance with large projects (thousands of files) on a local disk. TM doesn't exactly excel at these. ReMate is my friend! If only there was some way of improving TM's performance on large files (tens or hundreds of megabytes)...
I haven't seen this issue on a 10k files project I'm working on. I even load this over sshfs.
~ Thor
On 15. juli 2011, at 16:10, Steve King sking@arbor.net wrote:
On 2011-07-15 04:21, Sarim Khan wrote:
As i said in the first post, it is kohana php framework 3.1 project.
Bear in mind that some of us have never heard of this "kohana php framework 3.1"... Tens of files? Hundreds? Thousands?
FWIW, I also see poor refresh performance with large projects (thousands of files) on a local disk. TM doesn't exactly excel at these. ReMate is my friend! If only there was some way of improving TM's performance on large files (tens or hundreds of megabytes)...
-- Steve King Sr. Software Engineer Arbor Networks +1 734 821 1461 www.arbornetworks.com http://www.arbornetworks.com/
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On 2011-07-15 10:31, Thor Erik wrote:
I haven't seen this issue on a 10k files project I'm working on. I even load this over sshfs.
10k files on sshfs and no rescan problems? Wow. I want your network! You sure you don't have ReMate installed? Are you using a static project (opening/saving a .tmproject file) or just pointing TM at a directory tree? I think it only rescans on gaining focus in the latter case.
My issues are probably partly due to memory. When I'm working on large projects I unfortunately often need to have a VM running, which eats a big chunk of RAM. And I also often need to have large files open, which eats more big chunks of RAM. Once I start swapping I may as well settle in for some loooonng wait times.
I didn't even know ReMate existed until this thread started. The project is a static tmproject file I load, but I have to work across most of the directory tree, I also use the automatic re-load on changes as we work on this as a team and I like having the changes on my project as well. I got the lowest end mbp 13", but I don't have to deal with a local VM, thats why I use sshfs in the first place.
~Thor
On 15.07.11 16.40, "Steve King" sking@arbor.net wrote:
On 2011-07-15 10:31, Thor Erik wrote:
I haven't seen this issue on a 10k files project I'm working on. I even load this over sshfs.
10k files on sshfs and no rescan problems? Wow. I want your network! You sure you don't have ReMate installed? Are you using a static project (opening/saving a .tmproject file) or just pointing TM at a directory tree? I think it only rescans on gaining focus in the latter case.
My issues are probably partly due to memory. When I'm working on large projects I unfortunately often need to have a VM running, which eats a big chunk of RAM. And I also often need to have large files open, which eats more big chunks of RAM. Once I start swapping I may as well settle in for some loooonng wait times.
-- Steve King Sr. Software Engineer Arbor Networks +1 734 821 1461 www.arbornetworks.com http://www.arbornetworks.com/
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On 16/07/2011, at 12:10 AM, Steve King wrote:
On 2011-07-15 10:31, Thor Erik wrote:
I haven't seen this issue on a 10k files project I'm working on. I even load this over sshfs.
10k files on sshfs and no rescan problems? Wow. I want your network! You sure you don't have ReMate installed? Are you using a static project (opening/saving a .tmproject file) or just pointing TM at a directory tree? I think it only rescans on gaining focus in the latter case.
My issues are probably partly due to memory. When I'm working on large projects I unfortunately often need to have a VM running, which eats a big chunk of RAM. And I also often need to have large files open, which eats more big chunks of RAM. Once I start swapping I may as well settle in for some loooonng wait times.
Yeah, I think my slowdown are due to RAM too. I have a couple of local VMs, a couple of local database instances, and several different apache VirtualHosts. This means I am currently running out of RAM quite a lot. I guess the spinning beachball is a bit of an indicator.
Matt.