Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-2103

OutOfMemory errors when storing very large binary values in repository using InfinispanBinaryStore

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 3.7.0.Final
    • 3.6.0.Final
    • None
    • None

    Description

      Using a leveldb infinispan configuration it seems that the blobCache instance of ChunkOutputstream blows up the heap space since all the chunks are stored in memory:
      https://github.com/ModeShape/modeshape/blob/modeshape-3.6.0.Final/modeshape-jcr/src/main/java/org/modeshape/jcr/value/binary/infinispan/ChunkOutputStream.java#L111

      The following test shows the problem when adding a binary node using the leveldb configuration:
      https://github.com/futures/large-files-test
      especially: https://github.com/futures/large-files-test/blob/master/src/test/java/LevelDBConfigLargeFileIngestTest.java

      Attachments

        Activity

          People

            oleg.kulikov Oleg Kulikov (Inactive)
            fasseg frank asseg (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: