← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 4327: Adjusted cache capacity

 

------------------------------------------------------------
revno: 4327
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2011-08-17 12:57:08 +0200
message:
  Adjusted cache capacity
modified:
  dhis-2/dhis-support/dhis-support-hibernate/src/main/resources/ehcache.xml


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-support/dhis-support-hibernate/src/main/resources/ehcache.xml'
--- dhis-2/dhis-support/dhis-support-hibernate/src/main/resources/ehcache.xml	2011-08-17 09:25:09 +0000
+++ dhis-2/dhis-support/dhis-support-hibernate/src/main/resources/ehcache.xml	2011-08-17 10:57:08 +0000
@@ -3,7 +3,7 @@
 
   <diskStore path="java.io.tmpdir" />
 
-  <defaultCache maxElementsInMemory="600000" eternal="false" timeToIdleSeconds="360" timeToLiveSeconds="720"
+  <defaultCache maxElementsInMemory="650000" eternal="false" timeToIdleSeconds="360" timeToLiveSeconds="720"
     overflowToDisk="false" diskPersistent="false" diskExpiryThreadIntervalSeconds="720" memoryStoreEvictionPolicy="LRU" />
 
   <!-- Hibernate entities -->
@@ -104,17 +104,17 @@
   
   <cache name="org.hisp.dhis.dataelement.DataElementCategoryOptionCombo.categoryOptions" maxElementsInMemory="500" />
 
-  <cache name="org.hisp.dhis.dataset.DataSet.dataElements" maxElementsInMemory="4000" />
+  <cache name="org.hisp.dhis.dataset.DataSet.dataElements" maxElementsInMemory="3000" />
 
   <cache name="org.hisp.dhis.dataset.DataSet.sources" maxElementsInMemory="120000" />
 
-  <cache name="org.hisp.dhis.dataset.DataSet.sections" maxElementsInMemory="400" />
-
-  <cache name="org.hisp.dhis.dataelement.DataElement.groups" maxElementsInMemory="400" />
-
-  <cache name="org.hisp.dhis.dataelement.DataElement.dataSets" maxElementsInMemory="400" />
-
-  <cache name="org.hisp.dhis.dataelement.DataElementGroup.members" maxElementsInMemory="400" />
+  <cache name="org.hisp.dhis.dataset.DataSet.sections" maxElementsInMemory="3000" />
+
+  <cache name="org.hisp.dhis.dataelement.DataElement.groups" maxElementsInMemory="3000" />
+
+  <cache name="org.hisp.dhis.dataelement.DataElement.dataSets" maxElementsInMemory="3000" />
+
+  <cache name="org.hisp.dhis.dataelement.DataElementGroup.members" maxElementsInMemory="3000" />
 
   <cache name="org.hisp.dhis.dataelement.DataElementGroupSet.members" maxElementsInMemory="400" />