mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
(Scott Phillips) Tweaked default caching parameters based upon testing under live conditions at the TDL repository. The problem with the previous repository is that under even normal conditions components (i.e. transformers, generators, etc) would not be released from the cache and eventualy would suck all the available memory out of the JVM unless you had absolutely obsene amounts of available memory. Thse pramaters tweak the JVM to preform with just 64 megabytes of available memory and will always expire items from the cache after 24 hours or sooner.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2232 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -444,7 +444,8 @@
|
||||
| in the cache will be thrown out.
|
||||
+-->
|
||||
<transient-store logger="core.store.transient">
|
||||
<parameter name="maxobjects" value="10000"/>
|
||||
<parameter name="maxobjects" value="100"/>
|
||||
<parameter name="use-persistent-cache" value="false"/>
|
||||
</transient-store>
|
||||
|
||||
<!--+
|
||||
@@ -459,8 +460,12 @@
|
||||
| in the cache will be thrown out.
|
||||
+-->
|
||||
<store logger="core.store">
|
||||
<parameter name="maxobjects" value="10000"/>
|
||||
<parameter name="use-cache-directory" value="true"/>
|
||||
<parameter name="maxobjects" value="1000"/>
|
||||
<parameter name="eternal" value="false"/>
|
||||
<parameter name="timeToLiveSeconds" value="86400"/> <!-- 24 hours -->
|
||||
<parameter name="timeToIdleSeconds" value="10800"/> <!-- 3 hours -->
|
||||
<parameter name="overflow-to-disk" value="true"/>
|
||||
<parameter name="diskpersistent" value="false"/>
|
||||
</store>
|
||||
|
||||
<!--+
|
||||
|
Reference in New Issue
Block a user