Slow File Synchronize

In 3126, I am having really slow performance when trying to sync files. I am using clearcase(manually since the plugin is broken;) and when I check out a file and go back to IJ, it takes 10-15 seconds and various frame activation/deactivation to get the file to be writeable.

Anyone else with this problem?

7 comments

Yes, I've had a similar problem with all the EAP builds. I'm using CVS instead
of ClearCase, but my project and source files reside on a network directory
so perhaps that is the source of the problem?

The delay is so bad that I've given up on the EAP builds for the time being
and have gone back to using 4.5.3 which doesn't have any noticable delay.

In 3126, I am having really slow performance when trying to sync
files. I am using clearcase(manually since the plugin is broken;) and
when I check out a file and go back to IJ, it takes 10-15 seconds and
various frame activation/deactivation to get the file to be writeable.

Anyone else with this problem?



0

Chris Miller wrote:

Yes, I've had a similar problem with all the EAP builds. I'm using CVS
instead of ClearCase, but my project and source files reside on a
network directory so perhaps that is the source of the problem?

The delay is so bad that I've given up on the EAP builds for the time
being and have gone back to using 4.5.3 which doesn't have any noticable
delay.

>> In 3126, I am having really slow performance when trying to sync
>> files. I am using clearcase(manually since the plugin is broken;) and
>> when I check out a file and go back to IJ, it takes 10-15 seconds and
>> various frame activation/deactivation to get the file to be writeable.
>>
>> Anyone else with this problem?
>>


Yep, we do not recommend to store codebase on the network drive.
I know some companies require that but what is the rationale behind?

--
Maxim Shafirov
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"

0

Yep, we do not recommend to store codebase on the
network drive.
I know some companies require that but what is the
rationale behind?


Here's one: legacy practices. On the company I'm currently working for, people didn't use any version control system before I came here, and stored all source code on a shared network drive.

It's been 3 months since I started here, and I still didn't manage to get subversion (or any other VCS, for that matter) officially approved to manage the company's source code. Guess what I end up doing? Yep, storing files in the said network drive...

P.S.: recently I've found out a nice solution for this problem, namely multiple work areas (one local, and another in the network drive). I'll post about this later...

0

Yep, we do not recommend to store codebase on the network drive. I
know some companies require that but what is the rationale behind?


If you are using clearcase with dynamic views, there is no way around this.

0

Yep, we do not recommend to store codebase on the network drive. I
know some companies require that but what is the rationale behind?


Our company doesn't require it, however it has some big benefits for me
as I will try to explain.

I'm developing on a Windows box, however much of the code I work on ends
up being deployed to Linux/Solaris boxes in production. We have an ant script
that has a 'deploy' target which does some funky stuff including setting
up symlinks and deploying files to various servers.

During normal development I just call a 'compile' ant target from IDEA and
test my code locally, however fairly often I need to call the 'deploy' target
too. When I do that I have to do it from a unix window, I can't call it from
IDEA. By having my code on a network drive I can access the same code from
both my Win32 PC and the Linux command line which saves me a lot of time
- the alternative would be to copy it all across from my local drive to the
network drive every time I wanted to deploy.

An additional benefit of having my code on the network drive is that it gets
backed up hourly!


4.5.3 works absolutely fine with this setup, however something has changed
in the EAP builds that causes the synchronise to take 5-10 seconds each time
I switch from another application to IDEA. I could turn sync off I guess
but I've been burnt by that before. For the time being I think I'll just
stick with 4.5.3, unless someone has a suggestion that might work for me?

Cheers,
Chris

0

You could simply work with a local codebase and have some external (to IDEA) "asynchronous" tool that syncs local changes with the network-drive codebase. Or is there anything preventing this?
Windows since 2000 (?) does support this out of the box, not sure whether it only works with Win servers or with Linux ones too - alternatively there are lots of tools that do this found on the web, cannot remember what I've used...

regards,

Messi

0

I just wanted to see if there is any plan to change this behavior. This
is really slowing down my development. I have to keep Clearcase up all
the time and if I make a change, I wait, click to focus intellij, and
repeat, until my changes are picked up in the UI. Would it be possible
to at least have a configurable sync time to prevent this from
happening? This used to work perfectly in the older versions. I
imagine it was changed because some more work was added to the sync
routine that made it too slow to do it that often.
Also, if anyone else has a solution to this, I would love to hear it.

thanks,
adam

AdamC wrote:

In 3126, I am having really slow performance when trying to sync files. I am using clearcase(manually since the plugin is broken;) and when I check out a file and go back to IJ, it takes 10-15 seconds and various frame activation/deactivation to get the file to be writeable.

Anyone else with this problem?

0

Please sign in to leave a comment.