Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

See https://docs.jboss.org/hibernate/orm/3.3/reference/en-US/html/batch.html

Hibernate Cache Management in DSpace Command Line Tools

Some DSpace command line tools process a large number of DSOs from a single Context object.  In such a case, the hibernate cache can become too large and trigger memory exceptions.

In such a case, it is necessary to explicitly purge items from the DSpace cache.  

For instance, when re-indexing DSpace, the entire hierarchy is traversed.  DSOs are removed from the cache once they are no longer needed.

Hibernate Issues Discovered in DSpace 6.1

...