You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Joerg Hoh (Jira)" <ji...@apache.org> on 2022/07/20 10:16:00 UTC

[jira] [Created] (SLING-11471) warn when reading large amount of data from inputstream into memory

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)