jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r1527636 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/segment/AbstractStore.java
Date Mon, 30 Sep 2013 16:29:09 GMT
Author: jukka
Date: Mon Sep 30 16:29:09 2013
New Revision: 1527636

URL: http://svn.apache.org/r1527636
Log:
OAK-1031: SegmentMK: Fewer segment lookups

Reduce the default size of the record cache to see if that avoids the OOMEs in CI

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/segment/AbstractStore.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/segment/AbstractStore.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/segment/AbstractStore.java?rev=1527636&r1=1527635&r2=1527636&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/segment/AbstractStore.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/segment/AbstractStore.java
Mon Sep 30 16:29:09 2013
@@ -25,7 +25,7 @@ import com.google.common.cache.Cache;
 public abstract class AbstractStore implements SegmentStore {
 
     private final Cache<RecordId, Object> records =
-            CacheLIRS.newBuilder().maximumSize(10000).build();
+            CacheLIRS.newBuilder().maximumSize(1000).build();
 
     @Override
     public <T> T getRecord(RecordId id, Callable<T> loader) {



Mime
View raw message