You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by ju...@apache.org on 2013/09/30 18:29:09 UTC
svn commit: r1527636 -
/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/segment/AbstractStore.java
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) {