Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-523

reduce Lucene Directory memory usage: store only initialized buffer ranges

    XMLWordPrintable

Details

    Description

      All buffers created prior to writing a new file chunk are initialized at bufferSize and then stored as-is (as the full buffer);

      In most cases the memory penalty due to unused areas is not noticeable as biggest files are split in several chunks, but the many smallest files containing metadata only are wasting more memory, as only a couple of bytes are used in each.

      Attachments

        Activity

          People

            sgrinove Sanne Grinovero
            sgrinove Sanne Grinovero
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: