Details
Description
Discussion Link: https://markmail.org/message/nbmgrbzdwiqagzr2
OFBiz searches all the Theme.xml files under ofbiz.home with 'themes' as a partial path written under ThemeFactory.pullModelThemesFromXmlToCache(). The problem occurs mainly when the runtime data is huge in the system, and it increases the time since the current code also scans the Theme.xml under runtime directory.
A solution comes to mind which is to include 'themes' directory in the basePath for the searching of Theme.xml file.