Red Hat Bugzilla – Bug 1001080
Project explorer takes ages (if ever finishes) to initialize if the repo contains thousands of assets
Last modified: 2014-08-06 16:20:14 EDT
Created attachment 790516 [details]
Business central after ~40mins - project explorer is empty
Description of problem:
Suppose there is a git repo that contains thousands of assets (~4k XLS tables). When the Project Explorer is opened the assets are _not_ shown even after ~40mins. Seems like they won't be ever shown as the cpu usage drops almost to zero after some time. The log does not contain any useful message/exception (actually there is not single message in the log, will try to run with DEBUG enabled).
Tried with 1,5GB heap and 2,5GB heap, does not seem to matter (although the memory is filling fast, see screenshot from visulvm).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create repo with lots of assets (thousands of them).
2. Start up business central and Go to Project Explorer.
Project Explorer initialization is taking insane amount of time (more than 40 minutes) and might even not finish.
Even with huge repos the Project Explorer should load relatively fast - showing e.g. just first X assets of each kind (and possibility to show rest).
Created attachment 790517 [details]
VisualVM screenshot with memory/cpu usage
First set of performance improvements pushed into master and 0.3.x branches of Uberfire:
Quick fix for new vfs update.
Complemented with jgit version upgrade (that has several performance improvements) - pushed to master and 0.3.x of uberfire
I am marking this as verified because with ER5 the project explorer is initialized after about 30s, which is I think acceptable (at least in context of this BZ). In case other/similar perf. issues are found, new BZ(s) will be created.