I was reading through some ehcache notes and noticed a mention that EhCache 2 returned memory usage levels to pre-1.6 levels (apparently 1.7 used more memory). I thought; I wonder if I could upgrade? And so far, the answer is yes! I haven't put this into production yet so can't claim any live results, but it may be worth a try if you want to squeeze some performance (and upgrade about 8 years worth of ehCache development...)
The process was simple: * Download ehcache-2.10.1.jar, log4j-1.2.17.jar, slf4j-api-1.7.14.jar and slf4j-log4j12-1.7.14.jar * Replace the existing Jars in transfer/com/cache/provider/ehcache/ehcache-lib/ * Add a name parameter to your ehcache.xml file like: <ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ehcache.org/ehcache.xsd" name="transferCacheManager"> - this isn't strictly necessary but if you try to recreate transfer in the application scope, it will fail unless you add this name because it will find an existing, unnamed cache. * Restart I think that's all I did. The cacheReport tag doesn't work with the new version but I have updated it to work if anyone uses that. I'm going to test this a bit further to see if there are any wins in production but it was surprisingly easy. Brian -- -- Before posting questions to the group please read: http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer Try out the new Transfer ORM Custom Google Search: http://www.google.com/cse/home?cx=002375903941309441958:2s7wbd5ocb8 You received this message because you are subscribed to the Google Groups "transfer-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/transfer-dev?hl=en --- You received this message because you are subscribed to the Google Groups "transfer-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
