Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 359422 - Git Staging view hogs all system resources when unstaged resource is deleted
Summary: Git Staging view hogs all system resources when unstaged resource is deleted
Status: CLOSED WORKSFORME
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 1.1   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-29 09:30 EDT by Ayushman Jain CLA
Modified: 2015-08-14 09:22 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ayushman Jain CLA 2011-09-29 09:30:19 EDT
With 23 September's nightly build, I managed to make Git staging view eat up 100% CPU cycles. Here's what happened (ensure Git staging is open):

1) Create a resource in the directory where your local repo is stored. (I created a patch which got saved in C:\Documents and Settings\Administrator\git\eclipse.jdt.core).
2) The resource is shown in the unstaged changes in the git staging view. I saw this is a distraction, and not knowing how to remove it from inside of Eclipse, manually deleted the resource from the file system.
3) Git staging view removed the resource, but started an indexing job which hogged CPU cycles.
Comment 1 Ondrej Medek CLA 2012-03-12 10:39:40 EDT
I have no problem with that in EGit 1.3.0.201202151440-r. Can you try it again with the newest EGit stable version?
Comment 2 Andrey Loskutov CLA 2015-08-14 09:22:08 EDT
Using 4.1 I don't see the issue - probably we've fixed it somewhere between 1.1 and 4.0 :-)