Reputation: 43
I have a project with 5 remote packages and 3 local packages, this project is a Maven project, the build of the whole project takes 17 minutes, the Sencha build lasts 13 minutes out of 17, in the 3 local projects there are 5 View.js files.
Is it possible that the build of 5 javascript takes 13 minutes?
Where can I investigate?
Upvotes: 0
Views: 543
Reputation: 461
I worked with ExtJS and Sencha CMD 6.7 for multiple months and there I used apps with about 20 packages (local and remote). I didn't had such a performance issue, but I know that Sencha CMD can use a lot of memory, so I would at first increase the memory in the sencha.vmoptions (location: C:\Users\Foo\bin\Sencha\Cmd\6.7...) file.
Additionally you have to keep in mind that a high amount of package files in the local Sencha repository increases the memory usage. I would periodically clean up your local repository, by deleting the packages in the repo folder (C:\Users\Foo\bin\Sencha\Cmd\repo or ~/Sencha/Cmd/repo). You can delete here everything except of the (hidden) folder .meta, which should not be removed - otherwise your repo is broken. At least for me a cleanup decreased the memory usage by about 2 GB, but I had a lot of packages (and versions).
In general such a long time for the build is not normal and I would check the memory usage in first hand.
Upvotes: 1