[ https://jira.duraspace.org/browse/DS-1205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=26801#comment-26801 ]
João Melo commented on DS-1205: ------------------------------- This change could be used by indexing scripts, like OAI import, removing the need for resetting the context cache all the time. When it comes to DSpace memory growth over time (requiring tomcat restarts), this change doesn't have practical effects, however, it introduces a new development decision (of utmost importance - i think so): now it's possible to have a Context without persistent caching so developers can now choose what suits best (use a Context with persistent cache or not). Basically, it doesn't have practical effects on this matter, but it will help improving it. > DSpace org.dspace.core.Context caching problem > ---------------------------------------------- > > Key: DS-1205 > URL: https://jira.duraspace.org/browse/DS-1205 > Project: DSpace > Issue Type: Bug > Components: DSpace API > Affects Versions: 1.8.2 > Reporter: DSpace @ Lyncode > Priority: Blocker > Labels: Core > Fix For: 3.0 > > > bin/dspace script is crashing with OutOfMemory problems related with the > org.dspace.core.Context HashMap. > Proof: https://github.com/lyncode/DSpace/issues/5 > I think this is a critical problem, mainly because it does not make sense > (for me) to have crashing applications because of caching mechanism memory > overusage. As good practices for implementing caches, this cache mechanism > could be aware of it's memory usage threshold, if reached, it could start > discarding old and unused objects in it. -- 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 ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov _______________________________________________ Dspace-devel mailing list Dspace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-devel