org.terracotta.offheapstore.exceptions.OversizeMappingException: Storage Engine and Eviction Failed - Empty Map Storage Engine : org.ehcache.clustered.server.offheap.OffHeapChainStorageEngine@6959044e

GitHub | kedar031 | 5 months ago
  1. 0

    Clustered cache when allocated insufficient resources fails disgracefully

    GitHub | 5 months ago | kedar031
    org.terracotta.offheapstore.exceptions.OversizeMappingException: Storage Engine and Eviction Failed - Empty Map Storage Engine : org.ehcache.clustered.server.offheap.OffHeapChainStorageEngine@6959044e
  2. 0

    ResilienceStrategy getting OversizeMappingException: Storage Engine and Eviction Failed

    GitHub | 11 months ago | lorban
    org.ehcache.exceptions.CacheAccessException: The element with key '69531' is too large to be stored in this offheap store.

    Root Cause Analysis

    1. org.terracotta.offheapstore.exceptions.OversizeMappingException

      Storage Engine and Eviction Failed - Empty Map Storage Engine : org.ehcache.clustered.server.offheap.OffHeapChainStorageEngine@6959044e

      at org.terracotta.offheapstore.AbstractOffHeapClockCache.storageEngineFailure()
    2. org.terracotta.offheapstore
      AbstractLockedOffHeapHashMap.put
      1. org.terracotta.offheapstore.AbstractOffHeapClockCache.storageEngineFailure(AbstractOffHeapClockCache.java:84)[ehcache-3.1.0-SNAPSHOT.jar:3.1.0-SNAPSHOT 2042c854cd7c837e93ea21e2cc09559bd2ca7af2]
      2. org.terracotta.offheapstore.OffHeapHashMap.writeEntry(OffHeapHashMap.java:689)[ehcache-3.1.0-SNAPSHOT.jar:3.1.0-SNAPSHOT 2042c854cd7c837e93ea21e2cc09559bd2ca7af2]
      3. org.terracotta.offheapstore.OffHeapHashMap.put(OffHeapHashMap.java:471)[ehcache-3.1.0-SNAPSHOT.jar:3.1.0-SNAPSHOT 2042c854cd7c837e93ea21e2cc09559bd2ca7af2]
      4. org.terracotta.offheapstore.AbstractLockedOffHeapHashMap.put(AbstractLockedOffHeapHashMap.java:145)[ehcache-3.1.0-SNAPSHOT.jar:3.1.0-SNAPSHOT 2042c854cd7c837e93ea21e2cc09559bd2ca7af2]
      5. org.terracotta.offheapstore.OffHeapHashMap.put(OffHeapHashMap.java:461)[ehcache-3.1.0-SNAPSHOT.jar:3.1.0-SNAPSHOT 2042c854cd7c837e93ea21e2cc09559bd2ca7af2]
      6. org.terracotta.offheapstore.AbstractLockedOffHeapHashMap.put(AbstractLockedOffHeapHashMap.java:134)[ehcache-3.1.0-SNAPSHOT.jar:3.1.0-SNAPSHOT 2042c854cd7c837e93ea21e2cc09559bd2ca7af2]
      6 frames
    3. org.ehcache.clustered
      EhcacheActiveEntity.invoke
      1. org.ehcache.clustered.server.offheap.OffHeapChainMap.getAndAppend(OffHeapChainMap.java:98)[na:na]
      2. org.ehcache.clustered.server.offheap.OffHeapServerStore.getAndAppend(OffHeapServerStore.java:107)[na:na]
      3. org.ehcache.clustered.server.ServerStoreImpl.getAndAppend(ServerStoreImpl.java:70)[na:na]
      4. org.ehcache.clustered.server.EhcacheActiveEntity.invokeServerStoreOperation(EhcacheActiveEntity.java:375)[na:na]
      5. org.ehcache.clustered.server.EhcacheActiveEntity.invoke(EhcacheActiveEntity.java:287)[na:na]
      6. org.ehcache.clustered.server.EhcacheActiveEntity.invoke(EhcacheActiveEntity.java:86)[na:na]
      6 frames
    4. com.tc.objectserver
      RequestProcessorHandler.handleEvent
      1. com.tc.objectserver.entity.ManagedEntityImpl.lambda$performAction$27(ManagedEntityImpl.java:610)[na:na]
      2. com.tc.objectserver.entity.ManagedEntityImpl.runWithHelper(ManagedEntityImpl.java:259)[na:na]
      3. com.tc.objectserver.entity.ManagedEntityImpl.performAction(ManagedEntityImpl.java:610)[na:na]
      4. com.tc.objectserver.entity.ManagedEntityImpl.invoke(ManagedEntityImpl.java:358)[na:na]
      5. com.tc.objectserver.entity.ManagedEntityImpl.lambda$processInvokeRequest$20(ManagedEntityImpl.java:204)[na:na]
      6. com.tc.objectserver.entity.ManagedEntityImpl$SchedulingRunnable.run(ManagedEntityImpl.java:837)[na:na]
      7. com.tc.objectserver.entity.RequestProcessor$EntityRequest.invoke(RequestProcessor.java:219)[na:na]
      8. com.tc.objectserver.entity.RequestProcessor$EntityRequest.run(RequestProcessor.java:211)[na:na]
      9. com.tc.objectserver.entity.RequestProcessorHandler.handleEvent(RequestProcessorHandler.java:27)[na:na]
      10. com.tc.objectserver.entity.RequestProcessorHandler.handleEvent(RequestProcessorHandler.java:23)[na:na]
      10 frames
    5. com.tc.async
      StageImpl$WorkerThread.run
      1. com.tc.async.impl.StageQueueImpl$HandledContext.runWithHandler(StageQueueImpl.java:502)[ehcache-clustered-3.1.0-SNAPSHOT.jar:3.1.0-SNAPSHOT 2042c854cd7c837e93ea21e2cc09559bd2ca7af2]
      2. com.tc.async.impl.StageImpl$WorkerThread.run(StageImpl.java:197)[ehcache-clustered-3.1.0-SNAPSHOT.jar:3.1.0-SNAPSHOT 2042c854cd7c837e93ea21e2cc09559bd2ca7af2]
      2 frames