Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-1205

DSpace org.dspace.core.Context caching problem

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.8.2, 3.0
    • Fix Version/s: 4.0
    • Component/s: DSpace API
    • Labels:
    • Attachments:
      0
    • Comments:
      22
    • Documentation Status:
      Needed

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            lyncode DSpace @ Lyncode
            Reviewer:
            Hardy Pottinger Hardy Pottinger (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: