9 Replies Latest reply on Mar 21, 2016 5:01 AM by ludopaquet

    Restore and OutOfmemory error

    ludopaquet

      Hi,

       

      We are trying to backup and restore a filesystem based cache (we want eventually to defragment it).

       

      The size of backup files is 379M.

       

      However when we try to restore the repository we have an OutOfmemory (even with xmx 4g).

       

      The local cache is configured as follow :

       

      <eviction strategy="LRU" max-entries="500"/>

        <transaction

        transaction-manager-lookup="org.infinispan.transaction.lookup.DummyTransactionManagerLookup"

        mode="NON_XA" locking="PESSIMISTIC" />

        <persistence>

        <file-store fetch-state="false" shared="false" preload="false"

        purge="false" path="/data/store" />

        </persistence>

       

      Can we configure the transaction Manager to avoid loading all documents in memory ?

       

      Many thanks