[
https://jira.duraspace.org/browse/DS-1205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=25822#comment-25822
]
DSpace @ Lyncode commented on DS-1205:
--------------------------------------
Hi Tim,
we have something here. It uses CachingService [1], which implementation uses
EhCache [2, 3].
It requires a good review as it isn't fully tested (and it's a core change).
https://github.com/DSpace/DSpace/pull/68
[1]
https://github.com/DSpace/dspace-services/blob/master/api/src/main/java/org/dspace/services/CachingService.java
[2]
https://github.com/DSpace/dspace-services/blob/master/impl/src/main/java/org/dspace/services/caching/CachingServiceImpl.java
[3] http://ehcache.org/
> 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:
https://jira.duraspace.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel