Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-11471

warn when reading large amount of data from inputstream into memory

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • JCR Resource 3.2.0
    • None
    • JCR
    • None

    Description

      During SLING-11468 we found a situation in the JcrPropertyMapCacheEntry where data is read from an input stream into memory and stored within a String.
      The size of data to be read is unbound and it can cause a memory problem. For this reason we should implement log warnings, when more than 100k/1M/10M/100M bytes are read from this input stream.

      Attachments

        Activity

          People

            Unassigned Unassigned
            joerghoh Joerg Hoh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: