Joerg Hoh created SLING-11471:
---------------------------------

             Summary: warn when reading large amount of data from inputstream 
into memory
                 Key: SLING-11471
                 URL: https://issues.apache.org/jira/browse/SLING-11471
             Project: Sling
          Issue Type: Task
          Components: JCR
    Affects Versions: JCR Resource 3.2.0
            Reporter: Joerg Hoh


During SLING-11468 we found a case 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.








--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to