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

    Restore and OutOfmemory error




      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"/>



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


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

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



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


      Many thanks