#8 Cache

open
nobody
None
5
2012-09-06
2011-11-21
Anonymous
No

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.

Discussion


Anonymous


Cancel   Add attachments