[ https://jira.duraspace.org/browse/DS-1527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robin Taylor reassigned DS-1527: -------------------------------- Assignee: Robin Taylor > Memory leak in CachingService > ----------------------------- > > Key: DS-1527 > URL: https://jira.duraspace.org/browse/DS-1527 > Project: DSpace > Issue Type: Bug > Components: Service Manager > Affects Versions: 1.8.0, 1.8.1, 1.8.2, 3.0, 3.1 > Reporter: Robin Taylor > Assignee: Robin Taylor > Priority: Major > Fix For: 4.0 > > Attachments: memory-year.png > > > CachingServiceImpl contains a memory leak, or to be more precise the nested > class CachingServiceRequestInterceptor does. If you want to confirm this then > use a profiler and watch map 'requestCachesMap' grow, or use the 'old school' > method and stick some debugging code in the > onStart() method. The onStart() method and its partner onEnd() are invoked > indirectly by DSpaceWebappServletFilter, however, it appears onEnd() does not > get invoked for requests of type FORWARD or INCLUDE. This results in lots of > undeleted entries in requestCachesMap. > Ideally it would be good to understand why onEnd() does not get invoked for > all request types. However, if nobody can come up with an explanation then > the easy fix for this is to delete the references to FORWARD and INCLUDE in > the filter mapping definition in web.xml. If nobody can think of a reason not > to do so I'll provide a pull request to that effect. > Cheers, Robin. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html _______________________________________________ Dspace-devel mailing list Dspace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-devel