Nobody/Anonymous
-
2011-11-21
Cache
Brought to you by:
sindre_mehus
When I first built and ran the program I always noticed a warning show up just before the GUI loaded up in the browser. The warning read:
WARNING: Cache: musicFolderCache has a maxElementsInMemory of 0. It is strongly recommended to have a maximumSize of at least 1. Performance is halved by not using a MemoryStore.
WARNING: Cache: chatCache has a maxElementsInMemory of 0. It is strongly recommended to have a maximumSize of at least 1. Performance is halved by not using a MemoryStore.
Upon finding the file 'ehcache.xml' and changing the values of musicFolderCache and chatCache to '1' instead of '0' the warnings are gone and the program seems more responsive as the warnings suggest.
Anonymous