You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 16, 2019. It is now read-only.
I opened the bootstrapper on a pretty large ASP.NET MVC Project. I should have filtered out everything but my app files, but I didn't The sheer amount of files was just too much for the Bootstrapper to keep up with. Once I was able to remove the project, when I went to add it back, I couldn't specify a filter for those files anymore.
The text was updated successfully, but these errors were encountered:
It should not fail, but I can see that happening (I haven't deal with the infamous EMFILE error in all places.. and import is one of them). I'll work on that.
Just curious, how many files does the project have?
Seems the issue is more profound than I thought. There are two sides of it. The server imports the project pretty fast, but once imported it will watch the project directory for file changes; for a lot of files this is pretty slow and results in tons of CPU usage (uses Chokidar, which I'll probably replace at some point).
On the other hand, the client-side renders that view with all the files. I tried it for something like 12K files and it's very slow, takes like 30 seconds to render the view (and rendering happens every time the Chrome window gets focus). The app looks frozen during this time.
I'm not sure what's the right way to deal with this. Should we impose a hard limit on number of managed files in the project? I think 1-2K files would work reasonably well and should be enough for any project. The alternative would be to completely rewrite that view and use i.e. a paginated grid, which seems quite a bit of hassle.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I opened the bootstrapper on a pretty large ASP.NET MVC Project. I should have filtered out everything but my app files, but I didn't The sheer amount of files was just too much for the Bootstrapper to keep up with. Once I was able to remove the project, when I went to add it back, I couldn't specify a filter for those files anymore.
The text was updated successfully, but these errors were encountered: