Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't waste CPU or memory on ignored files #159

Open
rpmcruz opened this issue May 30, 2016 · 1 comment
Open

Don't waste CPU or memory on ignored files #159

rpmcruz opened this issue May 30, 2016 · 1 comment
Assignees

Comments

@rpmcruz
Copy link

rpmcruz commented May 30, 2016

Greetings,

I have a project where I have hundreds of thousands of small images, which in total make up more than 50 GB.

The data folder, and all these files, are ignored by .gitignore. It still seems the case that RabbitVCS transverses there.

I think this may be why RabbitVCS is incredibly slow and run at 100% of CPU for a few minutes on my old laptop. In my desktop system which has SSD disk, it runs pretty fast, though it requires 2.8 GB of memory.

Why not just do a "git status" on each folder rather than look at the files underneath? Or am I wrong on my diagnosis?

Let me know if you need help fixing this. :)

@adamplumb
Copy link

How long does it take your laptop to run git status on that repo? I'm sure we can improve how we handle ignored files, though yours is kind of an edge case. I'll keep this in mind though as a possible enhancement.

@adamplumb adamplumb self-assigned this Jun 21, 2017
@adamplumb adamplumb changed the title CPU hog when too many subfiles Don't waste CPU or memory on ignored files Jun 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants