Re: load problems with svn4idea45
Patrick Mayweg <[email protected]> Thu, 21 Apr 2005 07:32:55 +0200
| Newsgroups | gmane.comp.version-control.subversion.svnup.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Allen, this behaviour is the result of fix for another problem the plugin had. Getting the state of a single file takes about as long as get the state of a tree with some hunderd files. Idea 4.5 retrieves the state for file quiet often, like during poping up the "goto class" (ctrl-n) dialog. These dialog did become very slow and almost unusable. So I started caching the state of all files. That would still make the first "goto class" dialog very slow. That why I am now priming the cache, by getting the state of all files in the project first. That what takes up the 1-3 minutes. I put the priming in a utility thread, so it should not delay the start of IDEA too much. There I just found a problem. The prime of the cache is done twice. Please remove the call to run() from the line where the PrimeStatusCache45 is create in SvnVcs45. But I still think paying the price first while opening the project is less frustrating, than paying the price while poping up the first "goto class" dialog or any other operation, which retrieves a lot of file states. To better understand why it take multiple minutes, you we tell me someting about your project like the number of classes and how many modules do you use and how they are structured in the file system tree. Patrick Allen Unueco wrote: > I've been having some issues trying to get svn4idea45 working. After > installing svn4idea45 and setting Subversion as the version control > system IntelliJ takes almost 4 minutes to load. > > > > After launching IntelliJ it takes 8 seconds for the splash screen to > go away. Then the IntelliJ main window shows up but it is all grey for > another 3min 52sec. Once loaded most things seem to work fine but > every so often IntelliJ will freeze up for 1-3min and then come back > to life. > > > > If I remove the svn4idea45 plug-in IntelliJ starts up without any delay. > > > > Subversion Server: > > FedoraCore 3 > > httpd-2.0.52-3.1 > > mod_dav_svn-1.1.4-1.1 > > subversion-1.1.4-1.1 (r13838) > > > > Clients: > > Windows 2000/XP > > Subversion 1.1.4 > > IntelliJ IDEA 4.5.4 > > svn4idea54 0.9.1 > > SvnUp version 0.9.2 > > SvnJavaHL svn:1.1.4 > > jni:0.9.0 > > > >I also tried running the version that Patrick Mayweg uploaded to the mailing list on March 2nd and it has the same behavior. > > > >I noticed there has been no commits to the svn-up project since January. Does Patrick or anyone else have patches or dev builds that I could try out. I would really like to get svn4idea45 useable. > > > >Thanks, > >-allen > > >